ANSI ASCII/IBM ASCII
ANSI ASCII is the name utilized in WinHex for an extension of the ASCII character set as used in non-Unicode Windows applications. It was named ANSI by Microsoft after the American National Standards Institute, but not defined by that institute. Several different regional variants exist, one of which is active in Windows, typically code page 1252 in countries where a Western European language is spoken. MS-DOS and Windows command prompt windows use what is called the IBM ASCII character set in WinHex (also called OEM or DOS character set elsewhere). All of these 8-bit extensions of the 7-bit ASCII character sets differ in the characters with values greater than 127. If for example if you store plain text file with Windows Notepad in ANSI encoding and later view it with the type command in a command prompt window, special characters such as German umlauts will not be displayed correctly. Some of the regional ANSI code pages are double-byte code pages, i.e. use even 2 bytes for some characters instead of just 1 per character.
Select the character set for the text column in the View menu, or click the top of the text column, where the name of the active code page/character set is displayed to change settings. Use the "Convert" command of the Edit menu to convert text files from one character set to the other.
The first 32 ASCII values do not define printable characters, but control codes:
Hex |
Control Code |
Hex |
Control Code |
00 |
Null |
10 |
Data Link Escape |
01 |
Start of Header |
11 |
Device Control 1 |
02 |
Start of Text |
12 |
Device Control 2 |
03 |
End of Text |
13 |
Device Control 3 |
04 |
End of Transmission |
14 |
Device Control 4 |
05 |
Enquiry |
15 |
Negative Acknowledge |
06 |
Acknowledge |
16 |
Synchronous Idle |
07 |
Bell |
17 |
End of Transmission Block |
08 |
Backspace |
18 |
Cancel |
09 |
Horizontal Tab |
19 |
End of Medium |
0A |
Line Feed |
1A |
Substitute |
0B |
Vertical Tab |
1B |
Escape |
0C |
Form Feed |
1C |
File Separator |
0D |
Carriage Return |
1D |
Group Separator |
0E |
Shift Out |
1E |
Record Separator |
0F |
Shift In |
1F |
Unit Separator |