Windows-1258
Encyclopedia
Windows-1258 is a codepage used in Microsoft Windows
Microsoft Windows
Microsoft Windows is a series of operating systems produced by Microsoft.Microsoft introduced an operating environment named Windows on November 20, 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces . Microsoft Windows came to dominate the world's personal...

 to represent Vietnamese
Vietnamese language
Vietnamese is the national and official language of Vietnam. It is the mother tongue of 86% of Vietnam's population, and of about three million overseas Vietnamese. It is also spoken as a second language by many ethnic minorities of Vietnam...

 texts. It makes use of combining diacritical marks. Windows-1258 is not compatible with VISCII
VISCII
The Vietnamese Standard Code for Information Interchange is a character set comprising the Vietnamese alphabet, punctuation, and other graphemes. Vietnamese requires slightly too many letter/diacritic combinations to make a traditional extended ASCII character set for it...

. It is very similar to windows-1252
Windows-1252
Windows-1252 or CP-1252 is a character encoding of the Latin alphabet, used by default in the legacy components of Microsoft Windows in English and some other Western languages. It is one version within the group of Windows code pages...

 with the differences being that s-caron and z-caron (which were added to windows-1252 later) are missing, four of the letters with diacritics have been replaced by combining diacritics and a few other letter/diacritic combinations have been replaced.

Use of combining diacritics means that windows-1258 can cover the large number of letter/diacritic combinations in Vietnamese without compromising coverage of control codes or symbols.

UTF-8
UTF-8
UTF-8 is a multibyte character encoding for Unicode. Like UTF-16 and UTF-32, UTF-8 can represent every character in the Unicode character set. Unlike them, it is backward-compatible with ASCII and avoids the complications of endianness and byte order marks...

 is the preferred encoding for Vietnamese in modern applications. Windows 1258 may not always round trip Unicode encoded Vietnamese due to Unicode normalization differences.

Codepage layout

The following table shows Windows-1258. Only the upper half (128–255) of the table is shown, the lower half (0–127) being plain ASCII
ASCII
The American Standard Code for Information Interchange is a character-encoding scheme based on the ordering of the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that use text...

. Each character is shown with its Unicode
Unicode
Unicode is a computing industry standard for the consistent encoding, representation and handling of text expressed in most of the world's writing systems...

 equivalent and its decimal code. Differences from Windows-1252 are marked with thick green borders.
>
         
       

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK