Chapter 22. STRING MANIPULATION AND CHARACTER SETS

Character sets are translation tables that give meaning to the strings of bytes in character strings. The interpretation of character data depends not only on its content, but on the selected character set as well. The Win32 API provides support for the three most important microcomputer character sets: ANSI, OEM, and Unicode. ANSI is the default character set for Windows 9x, OEM for MS-DOS, and Unicode for Windows NT/2000. Because data can originate from any of these platforms, an application must be prepared to translate the data from its source representation to the native character set.

The string manipulation functions of the Win32 API are sensitive to the currently selected character set. ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.