Questions tagged [characters]
169 questions
120
votes
18 answers
What's the quickest way to count the number of each character in a file?
I want to count the A's T's C's G's N's and "-" characters in a file, or every letter if needed, is there a quick Unix command to do this?
Kirt
- 7,001
- 17
- 51
- 61
120
votes
5 answers
How to set character encoding when opening a CSV file in Excel?
Is it possible to set the default encoding for Excel (any version, e.g. 2010) when opening files like csv files (like you can in Open Office Calc)?
I When I try to open a csv file encoded in Japanese SHIFT-JIS, it opens but with mojibake (corrupted…
LozzerJP
- 1,333
- 2
- 9
- 8
98
votes
10 answers
Insert Unicode characters via the keyboard?
I am familiar with inserting an ASCII character into a text document by using 'Alt+ASCII code' on the NumPad keys (e.g. Alt+130 inserts an é character).
Is there a similar way to insert a Unicode character via the keyboard using the unicode value…
pelms
- 9,251
- 12
- 58
- 77
90
votes
11 answers
How do you type Unicode characters using hexadecimal codes?
This is in Windows, but answers for other operating systems can be handy to others.
Most guides say something to the effect of "hold down the Alt key and type in the code on the keypad". This works fine for decimal codes (like 65 for 'A'), but not…
user939
59
votes
12 answers
Italian keyboard: entering tilde (~) and backtick (`) characters without changing keyboard layout
Here is what the layout of an Italian keyboard looks like:
As you can see, the curly braces, which are absolutely necessary to
write code in any of C, C++, JavaScript, Java, Objective-C, and others,
appear in purple in this picture. This is because…
John Sonderson
- 3,496
- 14
- 49
- 68
36
votes
3 answers
Character count for SublimeText/WordCount
I'm new to Sublime Text (using ST3) and I've managed to install the SublimeText/WordCount package via Package Control.
https://github.com/SublimeText/WordCount/blob/st3/readme.md lists enable_count_chars as a preference that I can set to 'true'.…
iceequal
- 617
- 2
- 7
- 9
34
votes
9 answers
How can I type U+200B character?
How can I type the unicode character U+200B (zero-width space character) with my keyboard?
Mehper C. Palavuzlar
- 55,164
- 49
- 193
- 250
29
votes
2 answers
Notepad Ctrl-Backspace behavior
Text fields in almost all software erase a word when ctrl+backspace is pressed. However, Notepad behaves differently, and inserts a character which is:
`` (I copy-pasted it here. I'm not sure if it is visible. It looks like a rectangle in…
musa
- 571
- 2
- 6
- 17
26
votes
4 answers
remove <200b> character from text file
I have a huge text file containing this string/character <200b> that I want to delete. I tried with sed but it didn't work.
sed 's/<200b>//g' file
The character never shows when I open the file with a graphic text editor like gedit, I see it with…
user2598997
- 363
- 1
- 3
- 5
26
votes
4 answers
Ubuntu Linux: Can I paste plain text by default?
(Similar to my earlier question about Windows XP and darren_n's follow-up for Mac OS X.)
I regularly copy and paste text between spreadsheets, emails, browser windows, etc. I can't think of a single time when I've wanted to keep the formatting from…
Nathan Long
- 26,015
- 36
- 102
- 139
24
votes
6 answers
1/2 key on MacOSX?
I need the key 1/2 (one-half) but I can't find it on my mac keyboard.
My keyboard is a Danish Mac keyboard.
NeoNmaN
23
votes
2 answers
What does STX, SOH, and GS mean in Notepad++ output?
Upon reviewing the MIME source for an email (presumably containing international characters), I see stuff like this in Notepad++
I understand that CRLF is carriage return line feed, but what about the others? What do SOH, GS, and STX mean?
Mike B
- 2,660
- 14
- 41
- 59
22
votes
5 answers
How to type 《 》and 〈〉efficiently on Mac OS X?
How to type 《 》and 〈 〉efficiently (such as with a simple key combination) on Mac OS X?
qazwsx
- 8,599
- 24
- 58
- 86
22
votes
3 answers
What is the '¤' character?
Lately I've started wondering about the ¤ character which is shift+4 on my Norwegian keyboard (it's also present on several others, including the U.S. International keyboard layout). I've never seen a use for it, yet for some reason someone decided…
Rune Aamodt
- 351
- 1
- 3
- 11
18
votes
5 answers
Unicode characters suddenly start displaying as boxes in some applications
I noticed that Unicode characters suddenly stopped displaying in some applications, so far Notepad++ and Skype, when they were appearing previously. Instead they appear as boxes. They were working before, but I believe that it broke after a…
nmkef
- 189
- 1
- 1
- 3