CodePage enumv0.1.0

Source
The CodePage values exposed by this package.
pub enum CodePage: uint32 {
    IbmEbcdicUsCanada = 37,
    OemUnitedStates = 437,
    IbmEbcdicInternational = 500,
    OemArabic = 708,
    OemArabicAsmo720 = 720,
    OemGreek = 737,
    OemBaltic = 775,
    OemWesternEuropean = 850,
    OemCentralEuropean = 852,
    OemCyrillicRussian = 855,
    OemTurkish = 857,
    OemWesternEuropeanEuro = 858,
    OemPortuguese = 860,
    OemIcelandic = 861,
    OemHebrew = 862,
    OemFrenchCanadian = 863,
    OemArabic864 = 864,
    OemNordic = 865,
    OemCyrillicDos = 866,
    OemModernGreek = 869,
    IbmEbcdicMultilingualLatin2 = 870,
    Windows874 = 874,
    IbmEbcdicGreekModern = 875,
    ShiftJis = 932,
    Gb2312 = 936,
    KsC5601 = 949,
    Big5 = 950,
    IbmEbcdicLatinOpen = 1047,
    IbmEbcdicUsCanadaEuro = 1140,
    IbmEbcdicGermanyEuro = 1141,
    IbmEbcdicDenmarkNorwayEuro = 1142,
    IbmEbcdicFinlandSwedenEuro = 1143,
    IbmEbcdicItalyEuro = 1144,
    IbmEbcdicSpainEuro = 1145,
    IbmEbcdicUkEuro = 1146,
    IbmEbcdicFranceEuro = 1147,
    IbmEbcdicInternationalEuro = 1148,
    IbmEbcdicIcelandicEuro = 1149,
    Utf16Le = 1200,
    Utf16Be = 1201,
    Windows1250 = 1250,
    Windows1251 = 1251,
    Windows1252 = 1252,
    Windows1253 = 1253,
    Windows1254 = 1254,
    Windows1255 = 1255,
    Windows1256 = 1256,
    Windows1257 = 1257,
    Windows1258 = 1258,
    Johab = 1361,
    MacRoman = 10000,
    MacJapanese = 10001,
    MacChineseTraditional = 10002,
    MacKorean = 10003,
    MacArabic = 10004,
    MacHebrew = 10005,
    MacGreek = 10006,
    MacCyrillic = 10007,
    MacChineseSimplified = 10008,
    MacRomanian = 10010,
    MacUkrainian = 10017,
    MacThai = 10021,
    MacCentralEuropean = 10029,
    MacIcelandic = 10079,
    MacTurkish = 10081,
    MacCroatian = 10082,
    Utf32Le = 12000,
    Utf32Be = 12001,
    CnsTraditionalChinese = 20000,
    TcaTaiwan = 20001,
    EtenTraditionalChinese = 20002,
    Ibm5550Taiwan = 20003,
    TeleTextTaiwan = 20004,
    WangTaiwan = 20005,
    Ia5 = 20105,
    Ia5German = 20106,
    Ia5Swedish = 20107,
    Ia5Norwegian = 20108,
    UsAscii = 20127,
    T61 = 20261,
    Iso6937 = 20269,
    IbmEbcdicGermany = 20273,
    IbmEbcdicDenmarkNorway = 20277,
    IbmEbcdicFinlandSweden = 20278,
    IbmEbcdicItaly = 20280,
    IbmEbcdicLatinAmericaSpain = 20284,
    IbmEbcdicUnitedKingdom = 20285,
    IbmEbcdicJapaneseKatakana = 20290,
    IbmEbcdicFrance = 20297,
    IbmEbcdicArabic = 20420,
    IbmEbcdicGreek = 20423,
    IbmEbcdicHebrew = 20424,
    IbmEbcdicKoreanExtended = 20833,
    IbmEbcdicThai = 20838,
    Koi8R = 20866,
    IbmEbcdicIcelandic = 20871,
    IbmEbcdicCyrillicRussian = 20880,
    IbmEbcdicTurkish = 20905,
    IbmEbcdicLatinOpenEuro = 20924,
    EucJpJis = 20932,
    SimplifiedChineseGb2312 = 20936,
    KoreanWansung = 20949,
    IbmEbcdicCyrillicSerbianBulgarian = 21025,
    Koi8U = 21866,
    Iso8859Part1 = 28591,
    Iso8859Part2 = 28592,
    Iso8859Part3 = 28593,
    Iso8859Part4 = 28594,
    Iso8859Part5 = 28595,
    Iso8859Part6 = 28596,
    Iso8859Part7 = 28597,
    Iso8859Part8 = 28598,
    Iso8859Part9 = 28599,
    Iso8859Part13 = 28603,
    Iso8859Part15 = 28605,
    Europa3 = 29001,
    Iso8859Part8Logical = 38598,
    Iso2022Jp = 50220,
    Iso2022JpKana = 50221,
    Iso2022JpKanaSoSi = 50222,
    Iso2022Kr = 50225,
    Iso2022SimplifiedChinese = 50227,
    EucJp = 51932,
    EucCn = 51936,
    EucKr = 51949,
    HzGb2312 = 52936,
    Gb18030 = 54936,
    IsciiDevanagari = 57002,
    IsciiBangla = 57003,
    IsciiTamil = 57004,
    IsciiTelugu = 57005,
    IsciiAssamese = 57006,
    IsciiOdia = 57007,
    IsciiKannada = 57008,
    IsciiMalayalam = 57009,
    IsciiGujarati = 57010,
    IsciiPunjabi = 57011,
    Utf7 = 65000,
    Utf8 = 65001
}

Cases

NameValueDescription
IbmEbcdicUsCanada3737: EBCDIC US and Canada.
OemUnitedStates437437: The original IBM PC character set, US English.
IbmEbcdicInternational500500: EBCDIC international, Latin-1 repertoire.
OemArabic708708: Arabic, ASMO 708.
OemArabicAsmo720720720: Arabic, DOS transparent ASMO.
OemGreek737737: Greek, DOS 437G.
OemBaltic775775: Baltic, DOS.
OemWesternEuropean850850: Western European, DOS multilingual Latin-1.
OemCentralEuropean852852: Central European, DOS Slavic Latin-2.
OemCyrillicRussian855855: Cyrillic, DOS; not the Russian page, which is 866.
OemTurkish857857: Turkish, DOS.
OemWesternEuropeanEuro858858: Western European DOS multilingual with the euro sign in place of the dotless i.
OemPortuguese860860: Portuguese, DOS.
OemIcelandic861861: Icelandic, DOS.
OemHebrew862862: Hebrew, DOS.
OemFrenchCanadian863863: French Canadian, DOS.
OemArabic864864864: Arabic, DOS.
OemNordic865865: Nordic, DOS.
OemCyrillicDos866866: Cyrillic Russian, DOS; the page Russian MS-DOS actually used.
OemModernGreek869869: Modern Greek, DOS.
IbmEbcdicMultilingualLatin2870870: EBCDIC multilingual, Latin-2 repertoire.
Windows874874874: Thai, Windows.
IbmEbcdicGreekModern875875: EBCDIC modern Greek.
ShiftJis932932: Japanese, Shift-JIS.
Gb2312936936: Simplified Chinese, GBK; a superset of GB2312 despite the name.
KsC5601949949: Korean, Unified Hangul Code; a superset of KS C 5601.
Big5950950: Traditional Chinese, Big5.
IbmEbcdicLatinOpen10471047: EBCDIC Latin-1 open systems.
IbmEbcdicUsCanadaEuro11401140: EBCDIC US and Canada with the euro sign.
IbmEbcdicGermanyEuro11411141: EBCDIC Germany with the euro sign.
IbmEbcdicDenmarkNorwayEuro11421142: EBCDIC Denmark and Norway with the euro sign.
IbmEbcdicFinlandSwedenEuro11431143: EBCDIC Finland and Sweden with the euro sign.
IbmEbcdicItalyEuro11441144: EBCDIC Italy with the euro sign.
IbmEbcdicSpainEuro11451145: EBCDIC Latin America and Spain with the euro sign.
IbmEbcdicUkEuro11461146: EBCDIC United Kingdom with the euro sign.
IbmEbcdicFranceEuro11471147: EBCDIC France with the euro sign.
IbmEbcdicInternationalEuro11481148: EBCDIC international with the euro sign.
IbmEbcdicIcelandicEuro11491149: EBCDIC Icelandic with the euro sign.
Utf16Le12001200: UTF-16, little-endian. An identifier only: the conversion calls refuse it, since their output is already UTF-16.
Utf16Be12011201: UTF-16, big-endian. An identifier only, refused by the conversion calls for the same reason as 1200.
Windows125012501250: Central European, Windows.
Windows125112511251: Cyrillic, Windows.
Windows125212521252: Western European, Windows; the page Latin-1 text is usually mislabelled as.
Windows125312531253: Greek, Windows.
Windows125412541254: Turkish, Windows.
Windows125512551255: Hebrew, Windows.
Windows125612561256: Arabic, Windows.
Windows125712571257: Baltic, Windows.
Windows125812581258: Vietnamese, Windows.
Johab13611361: Korean, Johab.
MacRoman1000010000: Western European, Macintosh Roman.
MacJapanese1000110001: Japanese, Macintosh.
MacChineseTraditional1000210002: Traditional Chinese, Macintosh.
MacKorean1000310003: Korean, Macintosh.
MacArabic1000410004: Arabic, Macintosh.
MacHebrew1000510005: Hebrew, Macintosh.
MacGreek1000610006: Greek, Macintosh.
MacCyrillic1000710007: Cyrillic, Macintosh.
MacChineseSimplified1000810008: Simplified Chinese, Macintosh.
MacRomanian1001010010: Romanian, Macintosh.
MacUkrainian1001710017: Ukrainian, Macintosh.
MacThai1002110021: Thai, Macintosh.
MacCentralEuropean1002910029: Central European, Macintosh Latin-2.
MacIcelandic1007910079: Icelandic, Macintosh.
MacTurkish1008110081: Turkish, Macintosh.
MacCroatian1008210082: Croatian, Macintosh.
Utf32Le1200012000: UTF-32, little-endian. An identifier only; the conversion calls do not accept it.
Utf32Be1200112001: UTF-32, big-endian. An identifier only; the conversion calls do not accept it.
CnsTraditionalChinese2000020000: Traditional Chinese, CNS 11643.
TcaTaiwan2000120001: Traditional Chinese, TCA Taiwan.
EtenTraditionalChinese2000220002: Traditional Chinese, Eten.
Ibm5550Taiwan2000320003: Traditional Chinese, IBM 5550 Taiwan.
TeleTextTaiwan2000420004: Traditional Chinese, TeleText Taiwan.
WangTaiwan2000520005: Traditional Chinese, Wang Taiwan.
Ia52010520105: IA5, the seven-bit international reference version.
Ia5German2010620106: IA5, German national variant.
Ia5Swedish2010720107: IA5, Swedish national variant.
Ia5Norwegian2010820108: IA5, Norwegian national variant.
UsAscii2012720127: US-ASCII, seven bits.
T612026120261: T.61, the teletex character set.
Iso69372026920269: ISO 6937, the non-spacing accent set.
IbmEbcdicGermany2027320273: EBCDIC Germany.
IbmEbcdicDenmarkNorway2027720277: EBCDIC Denmark and Norway.
IbmEbcdicFinlandSweden2027820278: EBCDIC Finland and Sweden.
IbmEbcdicItaly2028020280: EBCDIC Italy.
IbmEbcdicLatinAmericaSpain2028420284: EBCDIC Latin America and Spain.
IbmEbcdicUnitedKingdom2028520285: EBCDIC United Kingdom.
IbmEbcdicJapaneseKatakana2029020290: EBCDIC Japanese katakana extended.
IbmEbcdicFrance2029720297: EBCDIC France.
IbmEbcdicArabic2042020420: EBCDIC Arabic.
IbmEbcdicGreek2042320423: EBCDIC Greek.
IbmEbcdicHebrew2042420424: EBCDIC Hebrew.
IbmEbcdicKoreanExtended2083320833: EBCDIC Korean extended.
IbmEbcdicThai2083820838: EBCDIC Thai.
Koi8R2086620866: Cyrillic, KOI8-R; the Russian one.
IbmEbcdicIcelandic2087120871: EBCDIC Icelandic.
IbmEbcdicCyrillicRussian2088020880: EBCDIC Cyrillic Russian.
IbmEbcdicTurkish2090520905: EBCDIC Turkish.
IbmEbcdicLatinOpenEuro2092420924: EBCDIC Latin-1 open systems with the euro sign.
EucJpJis2093220932: Japanese, JIS X 0208-1990 and JIS X 0212-1990.
SimplifiedChineseGb23122093620936: Simplified Chinese, GB2312 proper rather than the GBK superset at 936.
KoreanWansung2094920949: Korean, Wansung.
IbmEbcdicCyrillicSerbianBulgarian2102521025: EBCDIC Cyrillic Serbian and Bulgarian.
Koi8U2186621866: Cyrillic, KOI8-U; the Ukrainian one.
Iso8859Part12859128591: ISO 8859-1, Latin-1. Not the same as 1252, which fills the C1 range with printable characters.
Iso8859Part22859228592: ISO 8859-2, Central European.
Iso8859Part32859328593: ISO 8859-3, Latin-3.
Iso8859Part42859428594: ISO 8859-4, Baltic.
Iso8859Part52859528595: ISO 8859-5, Cyrillic.
Iso8859Part62859628596: ISO 8859-6, Arabic.
Iso8859Part72859728597: ISO 8859-7, Greek.
Iso8859Part82859828598: ISO 8859-8, Hebrew in visual order.
Iso8859Part92859928599: ISO 8859-9, Turkish Latin-5.
Iso8859Part132860328603: ISO 8859-13, Estonian.
Iso8859Part152860528605: ISO 8859-15, Latin-9.
Europa32900129001: Europa 3.
Iso8859Part8Logical3859838598: ISO 8859-8, Hebrew in logical order.
Iso2022Jp5022050220: ISO 2022 Japanese, no halfwidth katakana.
Iso2022JpKana5022150221: ISO 2022 Japanese, with halfwidth katakana.
Iso2022JpKanaSoSi5022250222: ISO 2022 Japanese, halfwidth katakana reached through shift-out and shift-in.
Iso2022Kr5022550225: ISO 2022 Korean.
Iso2022SimplifiedChinese5022750227: ISO 2022 simplified Chinese.
EucJp5193251932: EUC-JP.
EucCn5193651936: EUC-CN, simplified Chinese.
EucKr5194951949: EUC-KR, Korean.
HzGb23125293652936: HZ-GB2312, simplified Chinese.
Gb180305493654936: GB18030, which covers every Unicode scalar value.
IsciiDevanagari5700257002: ISCII Devanagari.
IsciiBangla5700357003: ISCII Bangla.
IsciiTamil5700457004: ISCII Tamil.
IsciiTelugu5700557005: ISCII Telugu.
IsciiAssamese5700657006: ISCII Assamese.
IsciiOdia5700757007: ISCII Odia.
IsciiKannada5700857008: ISCII Kannada.
IsciiMalayalam5700957009: ISCII Malayalam.
IsciiGujarati5701057010: ISCII Gujarati.
IsciiPunjabi5701157011: ISCII Punjabi.
Utf76500065000: UTF-7. Deprecated and unsafe to accept from anywhere untrusted: one character has more than one encoding, so a filter that inspects the bytes can be walked past.
Utf86500165001: UTF-8. The one to use for anything new.