Questions tagged [ascii]

An acronym of American Standard Code for Information Interchange, a well-known character encoding set.

ASCII is a character encoding standard for electronic communication, where codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters. The "old" ASCII charset is also known as US-ASCII by IANA cause this system was developed in the US and based on the typographical symbols predominantly in use at the time it was created.

External Links:

89 questions
21
votes
3 answers

Difference between EOT and EOF

I understand that EOT is ASCII code 4, whereas EOF is encoded as -1 (at least in C). Before I found out that EOF is mapped to -1, I thought it was just a synonym for EOT. Why is EOF mapped to -1 rather than EOT? As far as I can tell, they both do…
user628544
  • 1,565
3
votes
4 answers

How to produce a CR/LF in linux text docs?

How do you produce a CR/LF anywhere in a text document created in linux OS so that it can be copied and pasted into a windows text editor or onto the web and retain the CR/LF to be read and acted upon in a windows OS or on the web? A for instance…
Rocket
  • 47
1
vote
4 answers

Keystrokes for ASCII control codes

Okay, so I've recently realized the correspondence between Control keystrokes and ASCII control codes, e.g. ^D sends the EOT character because EOT is ASCII code 4 and D is the fourth letter in the alphabet. I'm wondering what would be the…
user628544
  • 1,565
-1
votes
1 answer

what is ascii 7-bit character set and ascii 8-bit character set?

Im new to this, so ascii 7 bit can represent 128 values, then ascii 8 can represent 256 values? this right? ascii 7-bit character set: 01000001 represents ‘A’ how would a look like in ascii 8 bit? or any other example of 8-bit character set? thanks.…