Understanding how computers represent numbers and special characters at the binary level is essential for system administration and database management.
- Standard ASCII Range: Standard ASCII uses 7 bits to represent 128 characters (0 to 127). Numbers '0' to '9' are mapped to decimal values 48 to 57. Uppercase letters 'A'-'Z' are 65-90, and lowercase 'a'-'z' are 97-122.
- Control Characters: The first 32 ASCII characters (0-31) and 127 (DEL) are non-printing control characters used to command hardware devices. Examples include Backspace (8), Horizontal Tab (9), Line Feed (10), and Carriage Return (13).
- Unicode Transformation Format (UTF): UTF-8 is a variable-width encoding (1 to 4 bytes) that is backward compatible with ASCII. UTF-16 uses 2 or 4 bytes. UTF-8 is the dominant encoding system for the World Wide Web and modern operating systems.
- Extended ASCII Limitations: Extended ASCII uses 8 bits (256 characters) but lacks global standardization. Different regions used different 'Code Pages' (e.g., ISO 8859-1 for Western Europe), causing encoding conflicts before Unicode.