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

2
votes
2answers
1k views

Print an ASCII file to a printer connected through USB

From my working program, I need to print an ASCII file to a printer connected through USB. So far this was working fine as we used LPT1 with the following command. Type filename > prn But the ...
2
votes
2answers
2k views

How to convert PDF to ASCII Postscript so the contained text can be searched/replaced?

According to Chapter 3.2 of the PostScript Language Reference, "there are three encodings for the PostScript language:ASCII, binary token, and binary object sequence". We've been generating PDF files ...
0
votes
2answers
376 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 ...
3
votes
1answer
509 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 ...
2
votes
1answer
2k views

powershell import-csv mangles diacritical characters

I am trying to create users in AD (2003 server R2) from a CSVfile using PowerShell (v2) when I use import-csv the resulting data gets mangled when names have diacritical characters in them. Jerónimo ...
1
vote
1answer
35 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). ...
1
vote
1answer
115 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: ...
1
vote
1answer
643 views

GNU Screen: using VT100 ASCII codes

I try to move with the VT100 keys here in GNU Screen: $ screen $ hello <left><left> ESC C ESC D but "ESC D" deletes until the end of line and ESC C does nothing. Perhaps, I am not using ...
0
votes
1answer
32 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
1answer
136 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 ...
0
votes
1answer
322 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
1answer
384 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: ...
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 ...
1
vote
0answers
40 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.
1
vote
0answers
38 views

Email text encoded with ASCII+1 scheme?

Something extremely strange is happening to me. I receive an email newsletter (about film news) and recently most of its text has suddenly begun to look like gibberish. The corresponding article, ...
0
votes
0answers
10 views

how to make a .conf file readable?

I found a .conf file in a program on windows, I opened it but I cannot read it because it is in ASCII or something like that. There are symbols or chinese letters. How can I make it readable?
0
votes
0answers
32 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
0answers
181 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 ...
0
votes
0answers
54 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 ...
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 ...