Hot answers tagged

10

CtrlSpace sends ASCII NUL. For the general case, System Preferences > Keyboard > Input Sources, scroll down the list and select Unicode Hex Input. You can then use CmdShiftSpace (and, if you disable Spotlight's use of it, CmdSpace) to switch between input modes or assign it a keyboard shortcut of its own (and presumably another to switch back) in ...


10

This is the currency sign A currency sign is a graphic symbol used as a shorthand for a currency's name. Also from Currency (typography): The currency sign (¤) is a character used to denote a currency, when the symbol for a particular currency is unavailable. The symbol is available on some keyboard layouts, for example French, ...


9

Didn't read most of you post, sorry. But just fixing on the final little question what is the ASCII key code for Tab? ASCII value for tab is 9 (decimal or hex), so try Alt + ( Numpad 0 , Numpad 9). But, I've just tested doing so in this very edit box and it doesn't work, but it does in notepad, MS Word, etc. I wonder why...? Anyway, if you really need a ...


9

"Unicode" on Windows is UTF-16LE, and each character is 2 or 4 bytes. Linux uses UTF-8, and each character is between 1 and 4 bytes. "The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"


8

The easiest way is to use the windows program charmap. Just type charmap into the search box on the start menu (vista and 7) or select start->run and type in charmap (in 9x to XP). Make sure the character set is set to Unicode in the dropdown in the lower half, and take your pick from the myriad of characters there. You can then copy and paste the ...


7

Morse code is one encoding that was used before ASCII. After that, the Baudot code appeared: From Wikipedia: The Baudot code, a 5-bit encoding, was created by Émile Baudot in 1870, patented in 1874, modified by Donald Murray in 1901, and standardized by CCITT as International Telegraph Alphabet No. 2 (ITA2) in 1930. From A Brief History of Character ...


7

No Way. The most would be Windows uses \r\n and unix \n, And even then, you can write a file with *nix line endings in Windows and vice versa. but if no new line characters.. no way. You can't see the origin of the file, there's no tag of any kind


6

Hold down ALT, and type 137 on the key pad on your keyboard. When you release ALT, it should appear. ALT + 137 ë Check http://www.asciitable.com, or the ASCII table of your choice for the ASCII codes you can type in.


6

Here are my attempts: ~nn°' `°nn~ ~m°' `°m~ ~nn"' `"nn~ ~m"' `"m~ ~nnº' `ºnn~ ~mº' `ºm~ ~nnº¯ ¯ºnn~ ~mº¯ ¯ºm~ ~nn^' `^nn~ ~m^' `^m~ Note: ° (degree), º (masculine ordinal indicator), and ¯ (macron) aren't ASCII.


6

It is not "ASCII" nor "ASCII Russian". Before Unicode became widespread, most computer systems used the ISO-8859 character encodings, of which there were 16, each for a different region (Central European, Cyrillic, Greek...). Windows had its own 'code pages', very similar but with extra glyphs in otherwise-unused ranges. All these character encodings are ...


6

$ perl -ne 'print "$. $_" if m/[\x80-\xFF]/' utf8.txt 2 Pour être ou ne pas être 4 Byť či nebyť 5 是或不 or $ grep -n -P '[\x80-\xFF]' utf8.txt 2:Pour être ou ne pas être 4:Byť či nebyť 5:是或不 where utf8.txt is $ cat utf8.txt To be or not to be. Pour être ou ne pas être Om of niet zijn Byť či nebyť 是或不


6

As you have already discovered, the characters resulting from character codes between 0 and 255 depend entirely on the encoding that is used. Windows doesn't use neither extended ASCII nor ANSI (usually Windows-1252); it actually depends on the application. For example, Alt + (2, 2, 4) gives on my machine: α in Notepad and on the command prompt. à in ...


6

The standard /bin/echo can be used to add that newline to the end of the file for you: $ echo -n 'ssss'>test $ file test test: ASCII text, with no line terminators $ hexdump -C test 00000000 73 73 73 73 |ssss| 00000004 $ echo >> test $ file test test: ASCII text $ hexdump -C test 00000000 73 73 73 73 0a ...


5

Press CtrlShiftU, 2, 6, 3, A, Enter in order.


5

Because it provides an easy and uniform mapping of all characters currently in use without having to switch code pages. Besides, you probably mean EASCII or ANSI (or some other derivative with 256 characters). To give you an example: using Russian and Czech on the same system would have been impossible some time ago (i.e. without Unicode), because the code ...


5

I've been trying! Haha! Believe meee! I can't find any, but how about some other single line pictures? Like a fish: ><((('> or a snail: @/` or a spider: //\O/\\ or a caterpillar: OOOOó or just something like: ٩(͡๏̯͡๏)۶ (>n_n)># (Debug line number indicator? :D)


5

JavE - Java Ascii Versatile Editor JavE - Java Ascii Versatile Editor is a great ASCII art editor. It's cross-platform and it is really convenient. It can also convert bitmap images to ASCII art.


5

Alt + 1 (on the number pad, make sure num lock is on) ☺ (alt+2 to make him black) ☻


5

Not entirely sure what you are trying to do with sed there. Is this what you are looking for? printf "\x27 \x60\n" # prints # ' ` printf "%x %x\n" "''" "'\`" # prints # 27 60 Taken from BashFAQ 071 Edit sed is perfectly fine with either ` or ' in its regex. Where you are running into problems is getting those characters through the shell interpreter ...


5

Since teleprinters and teletypes were used by these earlier machines, I think Baudot codes were used, since they are the native encoding used by most teleprinters: The Baudot code, invented by Émile Baudot, is a character set predating EBCDIC and ASCII. It was the predecessor to the International Telegraph Alphabet No. 2 (ITA2), the teleprinter code in ...


5

If you go into the directory ascii-telnet-server/ascii-telnet-server, you should see a list of files. Among one of them is the file sw1.txt. If you open it raw, you will see all the frames that are displayed in the Star Wars movie. But if you look closely, you will also see that between each frame, there is a little number right before each frame. I figure ...


5

These are fullwidth characters. These characters, which are in Unicode U+FF00 to U+FFEF, are intended to be used with CJK characters. They exist so that Latin characters can line up with fixed-width CJK text. Historically, Han characters were set double-wide in 80x24 terminals, and these characters were used to match the width of the CJK text. These ...


4

It doesn't come bundled with the default man pages, to install it: yum install man-pages


4

Short answer: Because Unicode supports more characters than ASCII. From Wikipedia: Unicode is intended to address the need for a workable, reliable world text encoding. Unicode could be roughly described as "wide-body ASCII" that has been stretched to 16 bits to encompass the characters of all the world's living languages. In a properly engineered ...


4

By default, pdftotext outputs unicode (UTF-8) data. If your terminal or text editor doesn't support UTF-8, ligatures such as "fi" and "fl" (which can be represented as a single character in unicode) will appear strangely, as you have noticed. The simple fix is to tell pdftotext to output ASCII instead of unicode: pdftotext -enc ASCII7 input.pdf output.txt ...


4

iconv -f utf-16be -t ascii input.txt


4

iconv (or iconv, as the case may be).


4

In a shell type man ascii this will give you the character codes in octal, hex and decimal. ASCII(7) BSD Miscellaneous Information Manual ASCII(7) NAME ascii -- octal, hexadecimal and decimal ASCII character sets DESCRIPTION The octal set: 000 nul 001 soh 002 stx 003 etx 004 eot 005 enq 006 ack 007 bel ...


4

In real MS-DOS, you could use MODE. It might also work in Windows 3.x or 98's "MS-DOS Prompt". mode con cols=40 However, you cannot do the same in Windows NT. Aside from the fact that Windows NT "Command Prompt" is not DOS, it just does not support 40 column full-screen text mode anymore.


4

These are called control codes and were meant to tell the actual terminal you were on to do something, rather than pass through to display something. Some of them, such as BEL (0x07), go so far back as to when terminals were actual teletypewriters (in this, 0x07 would ring the physical bell in the teletype). DLE is meant to work like ESC - once the ...



Only top voted, non community-wiki answers of a minimum length are eligible