UnixCpMap

Map with codepage names.

Declaration

Source position: unixcp.pp line 37

const
UnixCpMap : Array[-1..UnixCpMapLimit] of TUnixCpData = ((cp: 0; name: 'UTF-8'), (cp: 37; name: 'IBM037'), (cp: 37; name: 'IBM-037'), (cp: 154; name: 'CP154'), (cp: 154; name: 'CYRILLIC-ASIAN'), (cp: 154; name: 'PT154'), (cp: 154; name: 'PTCP154'), (cp: 154; name: 'CSPTCP154'), (cp: 437; name: '437'), (cp: 437; name: 'CP437'), (cp: 437; name: 'IBM-437'), (cp: 437; name: 'CSPC8CODEPAGE437'), (cp: 437; name: 'IBM437'), (cp: 500; name: 'IBM500'), (cp: 500; name: 'IBM-500'), (cp: 708; name: 'ASMO-708'), (cp: 720; name: 'DOS-720'), (cp: 737; name: 'CP737'), (cp: 737; name: 'ibm737'), (cp: 775; name: 'CP775'), (cp: 775; name: 'IBM775'), (cp: 775; name: 'CSPC775BALTIC'), (cp: 775; name: 'ibm775'), (cp: 850; name: '850'), (cp: 850; name: 'CP850'), (cp: 850; name: 'IBM850'), (cp: 850; name: 'CSPC850MULTILINGUAL'), (cp: 850; name: 'ibm850'), (cp: 852; name: '852'), (cp: 852; name: 'CP852'), (cp: 852; name: 'IBM852'), (cp: 852; name: 'CSPCP852'), (cp: 852; name: 'ibm852'), (cp: 853; name: 'CP853'), (cp: 855; name: '855'), (cp: 855; name: 'CP855'), (cp: 855; name: 'IBM855'), (cp: 855; name: 'CSIBM855'), (cp: 855; name: 'IBM855'), (cp: 857; name: '857'), (cp: 857; name: 'CP857'), (cp: 857; name: 'IBM857'), (cp: 857; name: 'CSIBM857'), (cp: 857; name: 'ibm857'), (cp: 858; name: 'CP858'), (cp: 858; name: 'IBM00858'), (cp: 860; name: '860'), (cp: 860; name: 'CP860'), (cp: 860; name: 'IBM860'), (cp: 860; name: 'CSIBM860'), (cp: 860; name: 'IBM860'), (cp: 861; name: '861'), (cp: 861; name: 'CP-IS'), (cp: 861; name: 'CP861'), (cp: 861; name: 'IBM861'), (cp: 861; name: 'CSIBM861'), (cp: 861; name: 'ibm861'), (cp: 862; name: '862'), (cp: 862; name: 'CP862'), (cp: 862; name: 'IBM862'), (cp: 862; name: 'CSPC862LATINHEBREW'), (cp: 862; name: 'DOS-862'), (cp: 863; name: '863'), (cp: 863; name: 'CP863'), (cp: 863; name: 'CSIBM863'), (cp: 863; name: 'IBM863'), (cp: 864; name: 'CP864'), (cp: 864; name: 'CSIBM864'), (cp: 864; name: 'IBM864'), (cp: 865; name: '865'), (cp: 865; name: 'IBM-865'), (cp: 865; name: 'CP865'), (cp: 865; name: 'CSIBM865'), (cp: 865; name: 'IBM865'), (cp: 866; name: '866'), (cp: 866; name: 'CP866'), (cp: 866; name: 'IBM866'), (cp: 866; name: 'CSIBM866'), (cp: 866; name: 'cp866'), (cp: 869; name: '869'), (cp: 869; name: 'IBM-869'), (cp: 869; name: 'CP-GR'), (cp: 869; name: 'CP869'), (cp: 869; name: 'IBM869'), (cp: 869; name: 'CSIBM869'), (cp: 869; name: 'ibm869'), (cp: 870; name: 'IBM870'), (cp: 874; name: 'CP874'), (cp: 874; name: 'WINDOWS-874'), (cp: 874; name: 'windows-874'), (cp: 875; name: 'cp875'), (cp: 932; name: 'CP932'), (cp: 932; name: 'IBM-943'), (cp: 932; name: 'MS932'), (cp: 932; name: 'SHIFFT\_JIS'), (cp: 932; name: 'SHIFFT\_JIS-MS'), (cp: 932; name: 'SJIS'), (cp: 932; name: 'SJIS-MS'), (cp: 932; name: 'SJIS-OPEN'), (cp: 932; name: 'SJIS-WIN'), (cp: 932; name: 'WINDOWS-31J'), (cp: 932; name: 'WINDOWS-932'), (cp: 932; name: 'CSWINDOWS31J'), (cp: 932; name: 'shift\_jis'), (cp: 932; name: 'shift-jis'), (cp: 936; name: 'CP936'), (cp: 936; name: 'GBK'), (cp: 936; name: 'MS936'), (cp: 936; name: 'WINDOWS-936'), (cp: 936; name: 'gb2312'), (cp: 949; name: 'CP949'), (cp: 949; name: 'UHC'), (cp: 949; name: 'EUC-KR'), (cp: 949; name: 'ks\_c\_5601-1987'), (cp: 950; name: 'CP950'), (cp: 950; name: 'BIG5'), (cp: 950; name: 'big5'), (cp: 1026; name: 'IBM1026'), (cp: 1047; name: 'IBM01047'), (cp: 1125; name: 'CP1125'), (cp: 1125; name: 'IBM-1125'), (cp: 1133; name: 'CP1133'), (cp: 1133; name: 'IBM-1133'), (cp: 1133; name: 'IBM-CP1133'), (cp: 1140; name: 'IBM01140'), (cp: 1141; name: 'IBM01141'), (cp: 1142; name: 'IBM01142'), (cp: 1143; name: 'IBM01143'), (cp: 1144; name: 'IBM01144'), (cp: 1145; name: 'IBM01145'), (cp: 1146; name: 'IBM01146'), (cp: 1147; name: 'IBM01147'), (cp: 1148; name: 'IBM01148'), (cp: 1149; name: 'IBM01149'), (cp: 1200; name: 'UTF-16LE'), (cp: 1200; name: 'UTF16LE'), (cp: 1200; name: 'UCS-2LE'), (cp: 1200; name: 'CP1200'), (cp: 1200; name: 'UTF16'), (cp: 1200; name: 'UTF-16'), (cp: 1200; name: 'UCS-2'), (cp: 1201; name: 'UTF-16BE'), (cp: 1201; name: 'UTF16BE'), (cp: 1201; name: 'UCS-2BE'), (cp: 1201; name: 'unicodeFFFE'), (cp: 1201; name: 'CP1201'), (cp: 1250; name: 'CP1250'), (cp: 1250; name: 'MS-EE'), (cp: 1250; name: 'WINDOWS-1250'), (cp: 1250; name: 'windows-1250'), (cp: 1251; name: 'CP1251'), (cp: 1251; name: 'MS-CYRL'), (cp: 1251; name: 'WINDOWS-1251'), (cp: 1251; name: 'windows-1251'), (cp: 1252; name: 'CP1252'), (cp: 1252; name: 'MS-ANSI'), (cp: 1252; name: 'WINDOWS-1252'), (cp: 1252; name: 'windows-1252'), (cp: 1253; name: 'CP1253'), (cp: 1253; name: 'MS-GREEK'), (cp: 1253; name: 'WINDOWS-1253'), (cp: 1253; name: 'windows-1253'), (cp: 1254; name: 'CP1254'), (cp: 1254; name: 'MS-TURK'), (cp: 1254; name: 'WINDOWS-1254'), (cp: 1254; name: 'windows-1254'), (cp: 1255; name: 'CP1255'), (cp: 1255; name: 'MS-HEBR'), (cp: 1255; name: 'WINDOWS-1255'), (cp: 1255; name: 'windows-1255'), (cp: 1256; name: 'CP1256'), (cp: 1256; name: 'MS-ARAB'), (cp: 1256; name: 'WINDOWS-1256'), (cp: 1256; name: 'windows-1256'), (cp: 1257; name: 'CP1257'), (cp: 1257; name: 'WINBALTRIM'), (cp: 1257; name: 'WINDOWS-1257'), (cp: 1257; name: 'windows-1257'), (cp: 1258; name: 'CP1258'), (cp: 1258; name: 'WINDOWS-1258'), (cp: 1258; name: 'windows-1258'), (cp: 1361; name: 'CP1361'), (cp: 1361; name: 'JOHAB'), (cp: 1361; name: 'Johab'), (cp: 10000; name: 'macintosh'), (cp: 10001; name: 'x-mac-japanese'), (cp: 10002; name: 'x-mac-chinesetrad'), (cp: 10003; name: 'x-mac-korean'), (cp: 10004; name: 'x-mac-arabic'), (cp: 10005; name: 'x-mac-hebrew'), (cp: 10006; name: 'x-mac-greek'), (cp: 10007; name: 'x-mac-cyrillic'), (cp: 10008; name: 'x-mac-chinesesimp'), (cp: 10010; name: 'x-mac-romanian'), (cp: 10017; name: 'x-mac-ukrainian'), (cp: 10021; name: 'x-mac-thai'), (cp: 10029; name: 'x-mac-ce'), (cp: 10079; name: 'x-mac-icelandic'), (cp: 10081; name: 'x-mac-turkish'), (cp: 10082; name: 'x-mac-croatian'), (cp: 12000; name: 'UTF-32LE'), (cp: 12000; name: 'CP12000'), (cp: 12000; name: 'UTF32LE'), (cp: 12000; name: 'UTF32'), (cp: 12000; name: 'UTF-32'), (cp: 12001; name: 'UTF-32BE'), (cp: 12001; name: 'CP12001'), (cp: 12001; name: 'UTF32BE'), (cp: 20000; name: 'x-Chinese\_CNS'), (cp: 20001; name: 'x-cp20001'), (cp: 20002; name: 'x\_Chinese-Eten'), (cp: 20003; name: 'x-cp20003'), (cp: 20004; name: 'x-cp20004'), (cp: 20005; name: 'x-cp20005'), (cp: 20105; name: 'x-IA5'), (cp: 20106; name: 'x-IA5-German'), (cp: 20107; name: 'x-IA5-Swedish'), (cp: 20108; name: 'x-IA5-Norwegian'), (cp: 20127; name: 'US-ASCII'), (cp: 20127; name: 'ASCII'), (cp: 20127; name: 'ANSI\_X3.4-1968'), (cp: 20127; name: 'ANSI\_X3.4-1986'), (cp: 20127; name: 'CP367'), (cp: 20127; name: 'IBM367'), (cp: 20127; name: 'ISO-IR-6'), (cp: 20127; name: 'ISO646-US'), (cp: 20127; name: 'ISO\_646.IRV:1991'), (cp: 20127; name: 'US'), (cp: 20127; name: 'CSASCII'), (cp: 20127; name: 'us-ascii'), (cp: 20261; name: 'x-cp20261'), (cp: 20269; name: 'x-cp20269'), (cp: 20273; name: 'IBM273'), (cp: 20277; name: 'IBM277'), (cp: 20278; name: 'IBM278'), (cp: 20280; name: 'IBM280'), (cp: 20284; name: 'IBM284'), (cp: 20285; name: 'IBM285'), (cp: 20290; name: 'IBM290'), (cp: 20297; name: 'IBM297'), (cp: 20420; name: 'IBM420'), (cp: 20423; name: 'IBM423'), (cp: 20424; name: 'IBM424'), (cp: 20833; name: 'x-EBCDIC-KoreanExtended'), (cp: 20838; name: 'IBM-Thai'), (cp: 20866; name: 'koi8-r'), (cp: 20871; name: 'IBM871'), (cp: 20880; name: 'IBM880'), (cp: 20905; name: 'IBM905'), (cp: 20924; name: 'IBM00924'), (cp: 20932; name: 'EUC-JP'), (cp: 20936; name: 'x-cp20936'), (cp: 20949; name: 'x-cp20949'), (cp: 21025; name: 'cp1025'), (cp: 21866; name: 'koi8-u'), (cp: 28591; name: 'CP819'), (cp: 28591; name: 'IBM819'), (cp: 28591; name: 'ISO-8859-1'), (cp: 28591; name: 'ISO-IR-100'), (cp: 28591; name: 'ISO8859-1'), (cp: 28591; name: 'ISO\_8859-1'), (cp: 28591; name: 'ISO\_8859-1:1987'), (cp: 28591; name: 'L1'), (cp: 28591; name: 'LATIN1'), (cp: 28591; name: 'CSISOLATIN1'), (cp: 28591; name: 'iso-8859-1'), (cp: 28591; name: 'iso8859-1'), (cp: 28592; name: 'iso-8859-2'), (cp: 28592; name: 'iso8859-2'), (cp: 28593; name: 'iso-8859-3'), (cp: 28593; name: 'iso8859-3'), (cp: 28594; name: 'iso-8859-4'), (cp: 28594; name: 'iso8859-4'), (cp: 28595; name: 'iso-8859-5'), (cp: 28595; name: 'iso8859-5'), (cp: 28596; name: 'iso-8859-6'), (cp: 28596; name: 'iso8859-6'), (cp: 28597; name: 'iso-8859-7'), (cp: 28597; name: 'iso8859-7'), (cp: 28598; name: 'iso-8859-8'), (cp: 28598; name: 'iso8859-8'), (cp: 28599; name: 'iso-8859-9'), (cp: 28599; name: 'iso8859-9'), (cp: 28603; name: 'iso-8859-13'), (cp: 28603; name: 'iso8859-13'), (cp: 28605; name: 'iso-8859-15'), (cp: 28605; name: 'iso8859-15'), (cp: 29001; name: 'x-Europa'), (cp: 38598; name: 'iso-8859-8-i'), (cp: 38598; name: 'iso8859-8-i'), (cp: 50220; name: 'iso-2022-jp'), (cp: 50221; name: 'ISO-2022-JP'), (cp: 50221; name: 'CP50221'), (cp: 50221; name: 'ISO-2022-JP-MS'), (cp: 50221; name: 'ISO2022-JP'), (cp: 50221; name: 'ISO2022-JP-MS'), (cp: 50221; name: 'MS50221'), (cp: 50221; name: 'WINDOWS-50221'), (cp: 50221; name: 'csISO2022JP'), (cp: 50222; name: 'iso-2022-jp'), (cp: 50225; name: 'iso-2022-kr'), (cp: 50225; name: 'iso2022-kr'), (cp: 50227; name: 'x-cp50227'), (cp: 51932; name: 'EUC-JP'), (cp: 51932; name: 'CP51932'), (cp: 51932; name: 'MS51932'), (cp: 51932; name: 'WINDOWS-51932'), (cp: 51932; name: 'euc-jp'), (cp: 51936; name: 'EUC-CN'), (cp: 51949; name: 'euc-kr'), (cp: 52936; name: 'hz-gb-2312'), (cp: 54936; name: 'GB18030'), (cp: 57002; name: 'x-iscii-de'), (cp: 57003; name: 'x-iscii-be'), (cp: 57004; name: 'x-iscii-ta'), (cp: 57005; name: 'x-iscii-te'), (cp: 57006; name: 'x-iscii-as'), (cp: 57007; name: 'x-iscii-or'), (cp: 57008; name: 'x-iscii-ka'), (cp: 57009; name: 'x-iscii-ma'), (cp: 57010; name: 'x-iscii-gu'), (cp: 57011; name: 'x-iscii-pa'), (cp: 65001; name: 'UTF-8'), (cp: 65001; name: 'CP65001'), (cp: 65001; name: 'UTF8'))

Description

UnixCpMap is a fixed structure with codepage number/codepage name pairs. It is used in GetCodepageData , GetSystemCodepage and GetCodepageByName to map code page names to numbers and vice versa.

The map is ordered on code page number, and for equal code page numbers, the names are ordered so the most common one is used first.

See also

Name Description
GetCodepageByName Find code page by name
GetCodepageData Return index of codepage.
GetSystemCodepage Return the system code page based on the program environment.