Questions tagged [ascii]
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.
115
questions
129
votes
2
answers
27k
views
Is it possible to create a QR code using text?
QR codes I have seen are mostly image files. But can you create QR codes using plain text?
For example ASCII and UTF-8 have black boxes as characters. Can I use those together with spaces to create a ...
48
votes
6
answers
320k
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
22
votes
5
answers
84k
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 implemented differently.
I am not concerned with the display, i.e. if a tab is displayed ...
22
votes
3
answers
51k
views
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 ...
18
votes
2
answers
60k
views
How to type non-printable ASCII characters in Mac OS X Terminal? [duplicate]
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 ...
16
votes
5
answers
273k
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 ...
14
votes
2
answers
23k
views
How can I identify non-ASCII characters from the shell?
Is there a simple way to print all non-ASCII characters and the line numbers on which they occur in a file using a command line utility such as grep, awk, perl, etc?
I want to change the encoding of ...
14
votes
4
answers
4k
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, ...
13
votes
3
answers
134k
views
How to type smiley face ASCII☺?
How to type smiley face ASCII ☺ ?
P.S I copy pasted ☺ from a site. ☺
11
votes
3
answers
8k
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 ...
10
votes
2
answers
70k
views
Why does [ALT+224] return Ó instead of alpha?
I'm on WIN 7. I found that windows is using ANSI, not ASCII. So when I type ALT + 224 i get Ó, instead of α. To get α I have to manually copy it from the windows character map every time I want to use ...
10
votes
2
answers
4k
views
How to turn off ALT + numeric keypad ASCII symbol insertion?
I prefer to use the cursor keys on the numeric keypad with Num Lock turned off. This is fine most of the time but in Eclipse it's causing problems with some of the shortcuts, e.g. Alt+Up/Down to move ...
9
votes
3
answers
3k
views
Convert tab separated values to ASCII table
What is the most efficient way to convert tab separated data such as this:
a b c d cat
NULL NULL NULL NULL NULL
NULL NULL NULL d d
NULL NULL c NULL c
NULL ...
9
votes
3
answers
2k
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?
8
votes
4
answers
4k
views
ASCII-art unicorn one-liner [closed]
I need to spruce up my debugging messages. I have a smiley in there :D, but someone suggested using a unicorn. There are some nice resources on ASCII unicorns (e.g. http://www.ascii-art.de/ascii/uvw/...
8
votes
2
answers
19k
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 the ...
6
votes
2
answers
10k
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 ...
5
votes
2
answers
9k
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 ...
5
votes
2
answers
4k
views
X2Go error: home directory path contains non-ASCII characters
The following error has started appearing for myself and all local users of X2Go when attempting to access a remote Ubuntu workstation:
Connection failed. Your home directory path contains non-ASCII ...
5
votes
1
answer
396
views
Issues establishing a stable Minitel to Raspberry Pi serial port connection
I'm working on repurposing old Minitel into a dumb terminal. But I came across a problem with the serial port connection. As I found out, the serial connection from the Minitel to the Raspberry Pi ...
5
votes
5
answers
13k
views
How can I find non-ASCII characters in text files?
Is there a tool that can scan a small text file and look for any character not in the simple ASCII character set?
A simple Java or Groovy script would also do.
4
votes
4
answers
7k
views
In linux how do I to get ' quote ` back-tic through the shell into sed.
In linux how do I to get the ascii decimal/hex/oct code from a char or a ascii char from a decimal/hex/oct code.
I see from the gnu sed user manual that I can use the \d# \o# \x#
to specify a ...
4
votes
3
answers
13k
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 ...
4
votes
1
answer
6k
views
Can the UTF-8 code page identifier (65001) be different on other computers?
I recently tried to explain to a friend how to create a simple one-line batch file:
subst t: "X:\Example"
On my machine that has been working fine for years, but on theirs I ran into an issue: their ...
4
votes
1
answer
19k
views
Batch cmd closes with ascii art?
I'm trying to make a ascii skull in batch, yet the cmd doesn't show my art OR text when opened
start cmd.exe
@echo off
color a
cls
echo ^_________-----_____^
echo ^____------ ...
4
votes
1
answer
804
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 ...
3
votes
5
answers
49k
views
Key for 'ë' , e with a diaeresis, in windows [duplicate]
Possible Duplicate:
How do you type Unicode characters using hexadecimal codes?
Is it possible to generate this symbol 'ë' i.e. e with a diaeresis from the keyboard in windows?
3
votes
4
answers
6k
views
Windows text file viewer that works on Linux text files
Is there a way under Windows to view ASCII files that have the Linux-style newline sequence of a single ASCII LF character? Something like like a gedit for Windows.
I need to to this in Windows 8.1 ...
3
votes
3
answers
2k
views
Unicode vs. ASCII [closed]
Why is Unicode used in the latest operating systems instead of ASCII?
3
votes
1
answer
977
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 ...
3
votes
2
answers
4k
views
Emulating Alt ASCII codes in Linux
I have an Alphasmart Neo, which emulates a keyboard when connected to a computer to send text files. It basically works like a very fast typist. When it hits an accented character it tries to use the ...
2
votes
3
answers
61k
views
Tool to convert a file of hex bytes to ASCII character set?
Is there a known tool to convert a file consisting of 2 byte hex values into ASCII?
Note: - Maintain file offset listing in bytes.
Example:
File contents:
00000000 0054 0065 0073 0074 0020 0054 0065 ...
2
votes
3
answers
2k
views
How do I make 'man ascii' work on Fedora 11
Upgrading from Fedora 9 with a full reinstall off the non-developers CD image,
then installing various packages. man ascii doesn't work -- what do I need
to install to get this to work?
2
votes
2
answers
2k
views
Windows ALT+NUMPAD ASCII Key Combos
You all probably know about Windows' ability to render any character by specifying it's ASCII code using the numpad. To do so, you press and hold the Alt key while sequentially pressing the numbers ...
2
votes
2
answers
11k
views
Utility for converting Shift-JIS encoded files to UTF-8 encoded files [closed]
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 ...
2
votes
1
answer
811
views
Input corrupted on Windows 10 after 1083 update: ASCII chars are replaced with �
Suddenly, likely due an update, input is corrupted for ASCII chars. I am using Windows 10 (Version 1803, Build 17134.112).
Usually if I write left Alt + 254 on numeric keyboard I got black square ■ ...
2
votes
3
answers
3k
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 ...
2
votes
2
answers
14k
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 ...
2
votes
1
answer
1k
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 ...
2
votes
2
answers
3k
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 ...
2
votes
2
answers
3k
views
ascii mode ftp between two linux boxes does undesired CRLF translation
Using the FTP command I transferred an xml file from a Red Hat Enterprise Linux box which happens to be in Europe to another RHEL box in the United States. I didn't specify a transfer mode so it ...
2
votes
3
answers
523
views
Extended ASCII table issues on a 64-bit OS
Consider:
Our old 32-bit program using the US-ASCII extended table (128-256) to create simple borders for its program menus.
For example, decimal 193 is an upside down Tee.
However, when the ...
2
votes
2
answers
5k
views
Why does LibreOffice Calc change CSV file Character Set?
I have a .csv file export (actually printed to csv file) made on a Windows 10 machine. Working in Libreoffice Calc on Archlinux, Why can Calc open a file using settings Character Set: Western Europe (...
2
votes
0
answers
3k
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.
2
votes
1
answer
660
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:
...
2
votes
2
answers
738
views
Lowercase Greek alpha in ASCII on OS X
Does anyone know the three digit ASCII code for the lowercase Greek letter 'alpha' for OS X? 945 doesn't work and the only list I've found that works for me is here but the list doesn't contain the ...
2
votes
0
answers
88
views
Is there a key combo that's usable for Unicode characters in the same manner as ASCII characters? [duplicate]
Possible Duplicate:
Typing strange letters¿ w/o numpad?
If you open up Window's Character Map and select, say, Arial as the font then you're obviously shown all of the characters that Arial ...
2
votes
2
answers
2k
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
2
answers
3k
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 ...
2
votes
1
answer
3k
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 ...