Knowledge Base - What is Encoding?
#13314: What is an encoding vector?
Definition of encoding
Encoding vectors are tables of character sets. These tables are used to help the keyboard match a keypress with a character slot.
Most of the characters in slots 0 -31 are pre-empted by application software and the operating system. Slots 32 - 126 (ASCII) are identical on every computer in the world.
This means that an ASCII "A" is always decimal 65 regardless of which machine it is on.
So much for the easy part. Characters 128 - 255 are called "extended characters" and this is where the use of various encoding vectors comes in. These are the characters which require special combinations of keystrokes in order to display. Some international keyboard layouts are standardized with certain
characters matched to certain keys.
Another problem is the use of characters above 255. This range of characters is accessed by defining Unicode character names and Unicode numbers to each slot.
The list below is designed to assist you as you select the proper encoding for your font project.
Adobe Standard Encoding
- Use only if this character set has all the characters you need and you expect features like Smart Quotes ligatures and Symbol substitution. This encoding vector is very good for doing cross-platform fonts as long as you don't need any non-Adobe encoded
- Used when creating your own encoding.
ISO Latin Encoding
- Preferred by most Unix systems.
- Use if font is staying on the Macintosh and Macintosh encoding has all the characters you need. This will maintain the Macintos
h keyboard compatibility with other fonts. This encoding allows characters in the lower 32 slots but we don't recommend you use them unless you know what you are doing. Most application software uses these slots for Control keys.
(ANSI) - Use this if you are staying on Windows.
Created : 2013-11-05 18:23:26, Last Modified : 2013-11-05 18:23:26