American Standard Code for Information Interchange is a character-encoding scheme based on the ordering of the English alphabet. ASCII codes represent text in computers and devices that use text. It includes definitions for 128 characters - 94 printable and 33 non-printable.

learn more… | top users | synonyms

9
votes
2answers
26k views

How to type non-printable ASCII characters in Mac OS X Terminal?

To communicate with a serial-type device over a telnet socket, I need to type the null character (ASCII 0) and all other non-printable ASCII characters. On Windows, you hold ALT and type the ASCII ...
0
votes
1answer
31 views

Disable Asterisk Symbol in Windows 7

My Windows 7 machine is having a really strange glitch that has made it nearly impossible to use. It is unrelated to the keyboard and is not any kind of detectable virus. Basically, it will type a ...
0
votes
0answers
13 views

in notepad++ the encoding of a file is set to UTF-8 but the encoding is actually ASCII

I need some text files to be encoded as UTF-8 text files when I use them with Notepad++. However, sometimes I have UTF-8 selected as the encoding in Notepad++, but the file is actually in ASCII. I ...
0
votes
1answer
7k views

Convert text file to ASCII, not ANSI in Sublime Text

We have a project where we need to convert weird characters generated from all kinds of file formats into ASCII due to compatibility issues. Is it possible in Sublime Text 2 to convert the encoding ...
0
votes
1answer
331 views

An application to view a ascii format matrix file as an image? [closed]

The image format is an ascii text, with numbers separated by spaces (black & white image). Per number per pixel. Is there any way to view this image by some application? I know I can write codes ...
1
vote
0answers
27 views

Can we convert non unicode fonts to unicode?

I have few non unicode(8 bit) hindi fonts, can be move these characters to Unicode space so that they work for Unicode text.
3
votes
2answers
3k views

cleaning up pdftotext font issues

I'm using pdftotext to make an ASCII version of a PDF document (made with LaTeX), because collaborators prefer a simple document in MS word. The plain text version I see looks good, but upon closer ...
0
votes
1answer
30 views

Convert/open an ASCII file

I am trying to open an ASCII file. The provider of the file says it's my responsibility to figure it out. The first 10 lines of the file (using linux command "head -10 file.txt") are included below. I ...
0
votes
1answer
56 views

Using Notepad++ to view text files that also contain lower ASCII control characters

When using Notepad++ to view text files that also contain some lower ASCII control characters (such as NUL, BEL, and ACK), it shows every lower ASCII character in brackets like this: [NUL][BEL][ACK] ...
1
vote
1answer
32 views

Why does CTL-3/CTL-# equal CTL-[? (and others) in the case of ASCII control characters

I've been rediscovering ASCII control characters as I fiddled with some terminal emulation code, and wrote a small program that outputs the hex value of each key I press (tcsetattr() with ~ICANON). ...
3
votes
1answer
497 views

Turn off ALT + numeric keypad ASCII symbol insertion?

Call me old fashioned but I like to use the cursor keys on the numeric keypad with Num Lock turned off. (There was a time many years ago when standard keyboards only had this...) This is fine most of ...
7
votes
4answers
25k views

What are the differences between Linux and Windows .txt files (Unicode encoding)

I am only using the 128 character set defined in the original ANSI standard. But as a whole how are the files implmeneted differently. I am not concerned with the display, i.e. if a tab is ...
-1
votes
1answer
57 views

ASCII code for Win+R

Is it possible to "emulate" the keystroke Win+R (or more generally speaking: any combination with Win key) with an ASCII code? It is possible to send Ctrl+Something as an ASCII code, so I wonder ...
1
vote
1answer
113 views

Default OSX hash key produces non-ASCII error in Python?

I'm using OSX Yosemite on a Macbook Pro with a UK keyboard. When I type # into a Python file (using Alt+3) I sometimes, but not always, see this syntax error when I try to run the Python file: ...
0
votes
1answer
119 views

How to get csvkit to recognise long ASCII lines?

I am using Ubuntu and I downloaded this CSV file, which file tells me is encoded like: ASCII text, with very long lines, with CRLF line terminators However, when I pass csvcut -e ASCII datafile, I ...
1
vote
1answer
165 views

Pressing ALT+ARROW_KEYS in Visual Studio editor writes single ASCII character

I am using VS2013 as my IDE and ever since the installation it acts very oddly when pressing ALT and any of the ARROW keys. I use ALT+LEFT and ALT+RIGHT to navigate backward/forward which works in ...
12
votes
2answers
18k views

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 ...
0
votes
0answers
178 views

Converting serial port binary hex to serial port ASCII decimal

I'd like to convert a binary hexadecimal data string on one serial port to an ASCII decimal string output to another serial port. Is there already an application that does this? If not, would it be ...
7
votes
3answers
40k views

Show hexadecimal/ASCII codes on Notepad++ 6.3

Is there a way to show the hexadecimal/ASCII for all text showing in the editor? I use Windows XP and Notepad++ 6.3
5
votes
2answers
544 views

“file” command yields “ASCII text, with no line terminators”, unless I first edit the file in vim

I am experimenting a strange behaviour which I don't know how to solve. I will explain the scenario: From a Python script I'm getting a json from a simple application hosted on parse. Once I get ...
5
votes
5answers
68k views

ASCII Code for the TAB Character? (Want to be able to input tabs into a web page textbox)

As I'm sure that pretty much everyone on here is aware the "Tab" key when used on a webpage simply jumps to the next element on the page; whether is be a checkbox, radio selector, button, another ...
0
votes
2answers
302 views

Hide non printable characters in vim

Vim shows non-printable characters prefixed with a ^ (for instance ^@ for a NUL byte). I have a column based file containing both printable and non-printable characters which is difficult to read, ...
0
votes
1answer
339 views

How to convert .shp to ASCII in QGIS or R?

Actually I want to convert the shp file to .grd file. But before I convert the .shp to .grd, on my thinking, first I must convert the .shp into ascii. Is it possible to convert directly from .shp to ....
2
votes
2answers
6k views

Converting ascii Russian to Russian?

I have a text document that is supposed to be written in Russian but it seems to instead be ascii: Óñòàíîâêà: 1)Çàïóñêàåì QuidamStudioSetup3.15.exe 2)Ïðè çàïðîñå ñåðèéíîãî íîìåðà ââîäèì How could I ...
0
votes
1answer
309 views

Batch convert images to ASCII art in GIMP

I want to convert a photoset of .png pictures to .txt files using the ASCII art generator of GIMP. I can do this individually just exporting the picture as .txt format, but I can't find any batch ...
0
votes
3answers
353 views

Accented character issue

I have a bunch of websites encoded in UTF-8. They contain accents and those weird n's with the squiggles over them and all kinds of fun stuff. When I try and open them in any text editor, even ...
0
votes
0answers
51 views

How to get Vim to interpret only printable ASCII characters?

What I want is pretty simple, so hopefully the fix is pretty simple. I want whatever file I open in VIM to treat each byte as a low-ASCII character. I want the character to be displayed normally if ...
2
votes
1answer
148 views

ConEmu and ASCII characters

I've been using ConEmu for quite a while, and I'm having some problems with ASCII characters in it. This doesn't happen with other terminal emulators, such as urxvt or mintty, here's a shot with the ...
1
vote
1answer
66 views

How to get ascii from a hexdump using hd?

I have this hexdump: 0100 0000 3f00 0000 0a59 6f55 90df 0100 0f00 0000 6d6f 746f 726f 6c61 2058 5431 3036 3839 3744 3245 3430 3630 3737 4143 3531 3632 3930 3937 3244 3933 3845 4343 I believe it's ...
1
vote
2answers
234 views

Modern Linux commands that parallel uuencode/uudecode functionality

I need to get binary files into text format. Years ago, I used uuencode/uudecode, and it was easy: uuencode file.xls > file.txt # Delete file.xls # Do whatever with file.txt # Now I need file.xls ...
6
votes
3answers
365 views

Why are there separate fixed-width characters for 0-9 in Japanese, compared to the typical 0-9?

Japanese (日本語) -0123456789 Typical ASCII for everywhere else - 0 1 2 3 4 5 6 7 8 9 Why was there a need to create a separate character set for the same numerals?
9
votes
4answers
2k views

Are there programs that convert PowerPoint block diagrams to ASCII text diagrams? [closed]

I'm looking for a program to convert PowerPoint block diagrams to ASCII. I found Ditaa, which does the exact opposite of what I want done. +--------+ +-------+ +-------+ | | --+ block2+--&...
0
votes
2answers
371 views

ascii value in bash/awk

i have a doubt, i know that with this command, it prints the value of a character based on the Ascii table: printf "%d\n" "'a" ##prints 97 But i wonder how can i make my programm show me the ascii ...
0
votes
1answer
63 views

ASCII text files

Given a file contains ASCII characters is there anyway to determine the operating system of origin? This needs to work regardless of the existence of newline characters
1
vote
2answers
3k views

EOF ASCII/HEX code in text files

As far as know in the end of all files, specially text files, there is a Hex code for EOF or NULL character. And when we want to write a program and read the contents of a text file, we send the read ...
1
vote
3answers
358 views

Windows text file viewer that works on Linux text files

Is there a Windows application like Notepad.exe that will view ASCII files that have the Linux-style newline sequence of a single ASCII LF character? This would be like a gedit for Windows. I need ...
0
votes
0answers
63 views

Need a laser printer solution to print text sent via ACSII drivers

This may be a strange question. I am preparing to install an HMI (Human Machine Interface) in a manufacturing setting that I would like to be able to have print a time/date/user report with some ...
0
votes
1answer
2k views

How to create a small Telnet star wars like movie [closed]

As it appears from the question title, how I can create my own server of telnet that can render some animated ascii art (like the star wars one) to say happy birthday? I just want some resources on ...
3
votes
3answers
1k views

Is there a way to type <enter> instead of <return> on a Mac keyboard?

Even though Macs have only one keyboard key for it, there is a difference between (carriage) return and enter. I need to type an enter (not return) into a field (it's a macro utility, and there's no ...
1
vote
1answer
240 views

Search for non-characters (character replacement indicators)

I have a text file (actually a .csv exported from .xlsx in LibreOffice) with lines that have gibberish when opened in LibreOffice Calc. In VIM they appear as the following: Joe User, joe@user.com, p@...
13
votes
4answers
989 views

What character encodings were used before 1963?

It is said that the first character encodings, ASCII and EBCDIC, appeared in 1963. My question: What character encodings preceded them? Did computer process characters before 1963? In particular, ...
0
votes
1answer
380 views

Use the ascii code of a character as an input to sort

I'd like to sort a file with a specific delimiter (ascii 0xff) and the records are zero-terminated. I cannot use the following command though: $ sort -z -t \xff -o data data The error message is: ...
2
votes
2answers
7k views

Utility for converting Shift-JIS encoded files to UTF-8 encoded files

My client has a ton of Japanese text files which are encoded in Shift-JIS. They need a utility which can convert these files to UTF-8. Ideally, the tool would offer both command-line and interactive ...
3
votes
2answers
514 views

What do the first 32 characters of the ascii table do?

The first 32 characters of the ASCII table (0x00 - 0x1F) are all of the non-printable characters (with the exception of 'DEL' which comes at the end of the table). What are these used for, other than ...
0
votes
1answer
1k views

Can I write a 16bit greyscale .PGM file? or should I make a .RAW?

I wanted to know if Photoshop or Gimp would properly read an ASCII .PGM file with 16bit values. I tried but it didn't work, however I don't see why it is impossible. take a pgm file like this: P2 3 ...
1
vote
2answers
63 views

Is there a web site that allows you to draw an ascii chart with boxes and arrows easily?

Ascii drawings and charts are a useful way of documenting software and can be included directly in source files near the code they document. I'm looking for an online tool to draw them and be able to ...
0
votes
1answer
1k views

How to conveniently create and edit ASCII tables?

Are there any text editors which can read in a plain-text file containing an ASCII table and render the table wih convenient table-editing tools such as "add row," "auto-fit column width," "delete ...
0
votes
1answer
97 views

Where can I find a list of ASCII symbols? [closed]

I don't have a keypad or number lock on my laptop. I have learned how to make a heart with <3 but I want a list of other characters not requiring the Alt key
1
vote
1answer
273 views

CMD Choice high-range characters

As a test, I tried this: C:\Users\Kolink>choice /C ` ERROR: Invalid choice. The valid choice characters are: a-z, A-Z, 0-9 and ASCII values of 128 to 254. How exactly would I add ASCII values ...
1
vote
2answers
59 views

Word adding newlines after replaced text?

For a video game, I'm making an ascii map of 1s and 0s which the program makes a 3D labyrinth out of. This is obviously not fun to edit (100x100). To make it easier, I tried setting up Word's ...