charset Property

CDXML Name:charset
Data Size:INT16
Property of objects:font
First written/read in:ChemDraw 4.0
Required?No

Description:

The character set used by a font.

This property is important when transferring files between computers. If the destination computer does not have installed a font specified in the file, it should at least try to select some other font with the same character set. This property is also important when translating text containing high-ASCII (128...255) characters between Macintosh and Windows computers.

"Normal" English fonts on Windows generally will use the iso-8859-1 character set; on Macintosh they will generally use the x-mac-roman character set. Those two character sets are identical for the first 128 ASCII characters.

The following character sets are recognized:
CDX Value CDX Constant CDXML Name
0kCDXCharSetUnknownUnknown
37kCDXCharSetEBCDICOEMEBCDICOEM
437kCDXCharSetMSDOSUSMSDOSUS
500kCDXCharSetEBCDIC500V1EBCDIC500V1
708kCDXCharSetArabicASMO708ASMO-708
709kCDXCharSetArabicASMO449PArabicASMO449P
710kCDXCharSetArabicTransparentArabicTransparent
720kCDXCharSetArabicTransparentASMODOS-720
737kCDXCharSetGreek437GGreek437G
775kCDXCharSetBalticOEMcp775
850kCDXCharSetMSDOSLatin1windows-850
852kCDXCharSetMSDOSLatin2ibm852
855kCDXCharSetIBMCyrilliccp855
857kCDXCharSetIBMTurkishcp857
860kCDXCharSetMSDOSPortuguesecp860
861kCDXCharSetMSDOSIcelandiccp861
862kCDXCharSetHebrewOEMDOS-862
863kCDXCharSetMSDOSCanadianFrenchcp863
864kCDXCharSetArabicOEMcp864
865kCDXCharSetMSDOSNordiccp865
866kCDXCharSetMSDOSRussiancp866
869kCDXCharSetIBMModernGreekcp869
874kCDXCharSetThaiwindows-874
875kCDXCharSetEBCDICEBCDIC
932kCDXCharSetJapaneseshift_jis
936kCDXCharSetChineseSimplifiedgb2312
949kCDXCharSetKoreanks_c_5601-1987
950kCDXCharSetChineseTraditionalbig5
1200kCDXCharSetUnicodeISO10646iso-10646
1250kCDXCharSetWin31EasternEuropeanwindows-1250
1251kCDXCharSetWin31Cyrillicwindows-1251
1252kCDXCharSetWin31Latin1iso-8859-1
1253kCDXCharSetWin31Greekiso-8859-7
1254kCDXCharSetWin31Turkishiso-8859-9
1255kCDXCharSetHebrewwindows-1255
1256kCDXCharSetArabicwindows-1256
1257kCDXCharSetBalticwindows-1257
1258kCDXCharSetVietnamesewindows-1258
1361kCDXCharSetKoreanJohabwindows-1361
10000kCDXCharSetMacRomanx-mac-roman
10001kCDXCharSetMacJapanesex-mac-japanese
10002kCDXCharSetMacTradChinesex-mac-tradchinese
10003kCDXCharSetMacKoreanx-mac-korean
10004kCDXCharSetMacArabicx-mac-arabic
10005kCDXCharSetMacHebrewx-mac-hebrew
10006kCDXCharSetMacGreekx-mac-greek
10007kCDXCharSetMacCyrillicx-mac-cyrillic
10008kCDXCharSetMacReservedx-mac-reserved
10009kCDXCharSetMacDevanagarix-mac-devanagari
10010kCDXCharSetMacGurmukhix-mac-gurmukhi
10011kCDXCharSetMacGujaratix-mac-gujarati
10012kCDXCharSetMacOriyax-mac-oriya
10013kCDXCharSetMacBengalix-mac-nengali
10014kCDXCharSetMacTamilx-mac-tamil
10015kCDXCharSetMacTelugux-mac-telugu
10016kCDXCharSetMacKannadax-mac-kannada
10017kCDXCharSetMacMalayalamx-mac-Malayalam
10018kCDXCharSetMacSinhalesex-mac-sinhalese
10019kCDXCharSetMacBurmesex-mac-burmese
10020kCDXCharSetMacKhmerx-mac-khmer
10021kCDXCharSetMacThaix-mac-thai
10022kCDXCharSetMacLaox-mac-lao
10023kCDXCharSetMacGeorgianx-mac-georgian
10024kCDXCharSetMacArmenianx-mac-armenian
10025kCDXCharSetMacSimpChinesex-mac-simpChinese
10026kCDXCharSetMacTibetanx-mac-tibetan
10027kCDXCharSetMacMongolianx-mac-mongolian
10028kCDXCharSetMacEthiopicx-mac-ethiopic
10029kCDXCharSetMacCentralEuroRomanx-mac-ce
10030kCDXCharSetMacVietnamesex-mac-vietnamese
10031kCDXCharSetMacExtArabicx-mac-extArabic
10032kCDXCharSetMacUninterpretedx-mac-uninterpreted
10079kCDXCharSetMacIcelandicx-mac-icelandic
10081kCDXCharSetMacTurkishx-mac-turkish

If this property is absent:

The charset will be treated as Unknown. This is fairly safe if you know for sure that you are using only the first 128 ASCII characters.

 


CDX Documentation index