Windows-1258

Jump to content
From Wikipedia, the free encyclopedia
(Redirected from Code page 1129)
Windows-1258
MIME / IANAwindows-1258
Alias(es)cp1258 (Code page 1258)
LanguagesVietnamese, English, French, German, Spanish, Danish, Norwegian, Swedish, Finnish, Irish, Albanian, Luxembourgish, Dutch.
With combining diacritics:
Asturian, Estonian, Italian, Portuguese, Guarani, Igbo, Nauruan, Yoruba
Created byMicrosoft
StandardWHATWG Encoding Standard
Classificationextended ASCII, Windows-125x
Based onWindows-1252

Windows-1258 is a code page used in Microsoft Windows to represent Vietnamese texts. It makes use of combining diacritical marks.

Windows-1258 is compatible with neither the Vietnamese standard (TCVN 5712 / VSCII), nor the various other encodings in use in practice (VISCII, VNI, VPS). Rather, it is very similar to Windows-1252, with the differences being that s-caron and z-caron (which were added to Windows-1252 later) are missing, five of the letters with diacritics have been replaced by combining diacritics for Vietnamese tone marks, one has been replaced with the đông sign, and eight others (four per case) have been changed to four otherwise-unsupported Vietnamese letters.

Use of combining diacritics means that Windows-1258 can cover the large number of combinations of letters and tone marks in Vietnamese without compromising coverage of control codes or symbols. However it also means that software must be careful to handle conversions between precomposed characters and combining sequences correctly when converting to/from other encodings and makes determining user-visible length of a string more difficult.

IBM uses code page 1258 (CCSID 1258 and euro sign extended CCSID 5354) for Windows-1258.[1][2][3]

UTF-8 is the preferred encoding for Vietnamese in modern applications. Windows-1258 may not always round-trip Unicode encoded Vietnamese due to changes caused by Unicode normalization.[4] Combining diacritics are encoded after the letter in both Windows-1258 and Unicode[4] (like VNI, unlike ANSEL).

Character set

[edit]

The following table shows Windows-1258. Each character is shown with its Unicode equivalent.

Windows-1258[5][6][7][8][9][10]
0123456789ABCDEF
0xNULSOHSTXETXEOTENQACKBELBSHTLFVTFFCRSOSI
1xDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUS
2x SP !"#$%&'()*+,-./
3x0123456789:;<=>?
4x@ABCDEFGHIJKLMNO
5xPQRSTUVWXYZ[\]^_
6x`abcdefghijklmno
7xpqrstuvwxyz{|}~DEL
8xƒˆŒ
9x˜œŸ
AxNBSP¡¢£¤¥¦§¨©ª«¬SHY®¯
Bx°±²³´µ·¸¹º»¼½¾¿
CxÀÁÂĂÄÅÆÇÈÉÊË◌̀ÍÎÏ
DxĐÑ◌̉ÓÔƠÖרÙÚÛÜƯ◌̃ß
Exàáâăäåæçèéêë◌́íîï
Fxđñ◌̣óôơö÷øùúûüưÿ
  Differences from Windows-1252

Code page 1129

[edit]

IBM's code page 1129 (CCSID 1129 and euro sign extended CCSID 1163)[11][12][13] is similar to code page 1258, but with the following differences:

Code page 1129 (differences from code page 1258)[14][15][16][17][18][19]
0123456789ABCDEF
8x
9x
AxNBSP¡¢£¤¥¦§œ©ª«¬SHY®¯
Bx°±²³Ÿµ·Œ¹º»¼½¾¿
  Differences from Windows-1258

See also

[edit]

References

[edit]
  1. ^ "Code page 1258 information document". Archived from the original on 2016-03-03.
  2. ^ "CCSID 1258 information document". Archived from the original on 2014-11-29.
  3. ^ "CCSID 5354 information document". Archived from the original on 2014-11-29.
  4. ^ a b Kaplan, Michael S. (2005-04-19). "A few of the gotchas of MultiByteToWideChar". Sorting it all out.
  5. ^ Steele, Shawn (1998-04-15). "cp1258 to Unicode table". Microsoft.
  6. ^ Unicode mappings of windows 1258 with "best fit"
  7. ^ Code Page CPGID 01258 (pdf) (PDF), IBM
  8. ^ Code Page CPGID 01258 (txt), IBM
  9. ^ International Components for Unicode (ICU), ibm-1258_P100-1997.ucm, 2002-12-03
  10. ^ International Components for Unicode (ICU), ibm-5354_P100-1998.ucm, 2002-12-03
  11. ^ "Code page 1129 information document". Archived from the original on 2010-09-21.
  12. ^ "CCSID 1129 information document". Archived from the original on 2016-03-27.
  13. ^ "CCSID 1163 information document". Archived from the original on 2014-11-29.
  14. ^ Lunde, Ken (13 January 2009). "Appendix L: Vietnamese Character Sets" (PDF). CJKV Information Processing (2nd ed.). ISBN 978-0-596-51447-1.
  15. ^ Code Page CPGID 01129 (pdf) (PDF), IBM
  16. ^ Code Page CPGID 01129 (txt), IBM
  17. ^ International Components for Unicode (ICU), ibm-1129_P100-1997.ucm, 2002-12-03
  18. ^ Code Page CPGID 01163 (pdf) (PDF), IBM
  19. ^ Code Page CPGID 01163 (txt), IBM
[edit]
    Windows-1258
    MIME / IANAwindows-1258
    Alias(es)cp1258 (Code page 1258)
    LanguagesVietnamese, English, French, German, Spanish, Danish, Norwegian, Swedish, Finnish, Irish, Albanian, Luxembourgish, Dutch.
    With combining diacritics:
    Asturian, Estonian, Italian, Portuguese, Guarani, Igbo, Nauruan, Yoruba
    Created byMicrosoft
    StandardWHATWG Encoding Standard
    Classificationextended ASCII, Windows-125x
    Based onWindows-1252

    Windows-1258 is a code page used in Microsoft Windows to represent Vietnamese texts. It makes use of combining diacritical marks.

    Windows-1258 is compatible with neither the Vietnamese standard (TCVN 5712 / VSCII), nor the various other encodings in use in practice (VISCII, VNI, VPS). Rather, it is very similar to Windows-1252, with the differences being that s-caron and z-caron (which were added to Windows-1252 later) are missing, five of the letters with diacritics have been replaced by combining diacritics for Vietnamese tone marks, one has been replaced with the đông sign, and eight others (four per case) have been changed to four otherwise-unsupported Vietnamese letters.

    Use of combining diacritics means that Windows-1258 can cover the large number of combinations of letters and tone marks in Vietnamese without compromising coverage of control codes or symbols. However it also means that software must be careful to handle conversions between precomposed characters and combining sequences correctly when converting to/from other encodings and makes determining user-visible length of a string more difficult.

    IBM uses code page 1258 (CCSID 1258 and euro sign extended CCSID 5354) for Windows-1258.[1][2][3]

    UTF-8 is the preferred encoding for Vietnamese in modern applications. Windows-1258 may not always round-trip Unicode encoded Vietnamese due to changes caused by Unicode normalization.[4] Combining diacritics are encoded after the letter in both Windows-1258 and Unicode[4] (like VNI, unlike ANSEL).

    Character set

    The following table shows Windows-1258. Each character is shown with its Unicode equivalent.

    Windows-1258[5][6][7][8][9][10]
    0123456789ABCDEF
    0xNULSOHSTXETXEOTENQACKBELBSHTLFVTFFCRSOSI
    1xDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUS
    2x SP !"#$%&'()*+,-./
    3x0123456789:;<=>?
    4x@ABCDEFGHIJKLMNO
    5xPQRSTUVWXYZ[\]^_
    6x`abcdefghijklmno
    7xpqrstuvwxyz{|}~DEL
    8xƒˆŒ
    9x˜œŸ
    AxNBSP¡¢£¤¥¦§¨©ª«¬SHY®¯
    Bx°±²³´µ·¸¹º»¼½¾¿
    CxÀÁÂĂÄÅÆÇÈÉÊË◌̀ÍÎÏ
    DxĐÑ◌̉ÓÔƠÖרÙÚÛÜƯ◌̃ß
    Exàáâăäåæçèéêë◌́íîï
    Fxđñ◌̣óôơö÷øùúûüưÿ
      Differences from Windows-1252

    Code page 1129

    IBM's code page 1129 (CCSID 1129 and euro sign extended CCSID 1163)[11][12][13] is similar to code page 1258, but with the following differences:

    Code page 1129 (differences from code page 1258)[14][15][16][17][18][19]
    0123456789ABCDEF
    8x
    9x
    AxNBSP¡¢£¤¥¦§œ©ª«¬SHY®¯
    Bx°±²³Ÿµ·Œ¹º»¼½¾¿
      Differences from Windows-1258

    See also

    References

    1. ^ "Code page 1258 information document". Archived from the original on 2016-03-03.
    2. ^ "CCSID 1258 information document". Archived from the original on 2014-11-29.
    3. ^ "CCSID 5354 information document". Archived from the original on 2014-11-29.
    4. ^ a b Kaplan, Michael S. (2005-04-19). "A few of the gotchas of MultiByteToWideChar". Sorting it all out.
    5. ^ Steele, Shawn (1998-04-15). "cp1258 to Unicode table". Microsoft.
    6. ^ Unicode mappings of windows 1258 with "best fit"
    7. ^ Code Page CPGID 01258 (pdf) (PDF), IBM
    8. ^ Code Page CPGID 01258 (txt), IBM
    9. ^ International Components for Unicode (ICU), ibm-1258_P100-1997.ucm, 2002-12-03
    10. ^ International Components for Unicode (ICU), ibm-5354_P100-1998.ucm, 2002-12-03
    11. ^ "Code page 1129 information document". Archived from the original on 2010-09-21.
    12. ^ "CCSID 1129 information document". Archived from the original on 2016-03-27.
    13. ^ "CCSID 1163 information document". Archived from the original on 2014-11-29.
    14. ^ Lunde, Ken (13 January 2009). "Appendix L: Vietnamese Character Sets" (PDF). CJKV Information Processing (2nd ed.). ISBN 978-0-596-51447-1.
    15. ^ Code Page CPGID 01129 (pdf) (PDF), IBM
    16. ^ Code Page CPGID 01129 (txt), IBM
    17. ^ International Components for Unicode (ICU), ibm-1129_P100-1997.ucm, 2002-12-03
    18. ^ Code Page CPGID 01163 (pdf) (PDF), IBM
    19. ^ Code Page CPGID 01163 (txt), IBM
    • IANA Charset Name Registration of windows-1258
    • Michael Kaplan's blog describing the Windows 1258 encoding behavior
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Windows-1258&oldid=1320377825#Code_page_1129"