| 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 |
| 0 | kCDXCharSetUnknown | Unknown |
| 37 | kCDXCharSetEBCDICOEM | EBCDICOEM |
| 437 | kCDXCharSetMSDOSUS | MSDOSUS |
| 500 | kCDXCharSetEBCDIC500V1 | EBCDIC500V1 |
| 708 | kCDXCharSetArabicASMO708 | ASMO-708 |
| 709 | kCDXCharSetArabicASMO449P | ArabicASMO449P |
| 710 | kCDXCharSetArabicTransparent | ArabicTransparent |
| 720 | kCDXCharSetArabicTransparentASMO | DOS-720 |
| 737 | kCDXCharSetGreek437G | Greek437G |
| 775 | kCDXCharSetBalticOEM | cp775 |
| 850 | kCDXCharSetMSDOSLatin1 | windows-850 |
| 852 | kCDXCharSetMSDOSLatin2 | ibm852 |
| 855 | kCDXCharSetIBMCyrillic | cp855 |
| 857 | kCDXCharSetIBMTurkish | cp857 |
| 860 | kCDXCharSetMSDOSPortuguese | cp860 |
| 861 | kCDXCharSetMSDOSIcelandic | cp861 |
| 862 | kCDXCharSetHebrewOEM | DOS-862 |
| 863 | kCDXCharSetMSDOSCanadianFrench | cp863 |
| 864 | kCDXCharSetArabicOEM | cp864 |
| 865 | kCDXCharSetMSDOSNordic | cp865 |
| 866 | kCDXCharSetMSDOSRussian | cp866 |
| 869 | kCDXCharSetIBMModernGreek | cp869 |
| 874 | kCDXCharSetThai | windows-874 |
| 875 | kCDXCharSetEBCDIC | EBCDIC |
| 932 | kCDXCharSetJapanese | shift_jis |
| 936 | kCDXCharSetChineseSimplified | gb2312 |
| 949 | kCDXCharSetKorean | ks_c_5601-1987 |
| 950 | kCDXCharSetChineseTraditional | big5 |
| 1200 | kCDXCharSetUnicodeISO10646 | iso-10646 |
| 1250 | kCDXCharSetWin31EasternEuropean | windows-1250 |
| 1251 | kCDXCharSetWin31Cyrillic | windows-1251 |
| 1252 | kCDXCharSetWin31Latin1 | iso-8859-1 |
| 1253 | kCDXCharSetWin31Greek | iso-8859-7 |
| 1254 | kCDXCharSetWin31Turkish | iso-8859-9 |
| 1255 | kCDXCharSetHebrew | windows-1255 |
| 1256 | kCDXCharSetArabic | windows-1256 |
| 1257 | kCDXCharSetBaltic | windows-1257 |
| 1258 | kCDXCharSetVietnamese | windows-1258 |
| 1361 | kCDXCharSetKoreanJohab | windows-1361 |
| 10000 | kCDXCharSetMacRoman | x-mac-roman |
| 10001 | kCDXCharSetMacJapanese | x-mac-japanese |
| 10002 | kCDXCharSetMacTradChinese | x-mac-tradchinese |
| 10003 | kCDXCharSetMacKorean | x-mac-korean |
| 10004 | kCDXCharSetMacArabic | x-mac-arabic |
| 10005 | kCDXCharSetMacHebrew | x-mac-hebrew |
| 10006 | kCDXCharSetMacGreek | x-mac-greek |
| 10007 | kCDXCharSetMacCyrillic | x-mac-cyrillic |
| 10008 | kCDXCharSetMacReserved | x-mac-reserved |
| 10009 | kCDXCharSetMacDevanagari | x-mac-devanagari |
| 10010 | kCDXCharSetMacGurmukhi | x-mac-gurmukhi |
| 10011 | kCDXCharSetMacGujarati | x-mac-gujarati |
| 10012 | kCDXCharSetMacOriya | x-mac-oriya |
| 10013 | kCDXCharSetMacBengali | x-mac-nengali |
| 10014 | kCDXCharSetMacTamil | x-mac-tamil |
| 10015 | kCDXCharSetMacTelugu | x-mac-telugu |
| 10016 | kCDXCharSetMacKannada | x-mac-kannada |
| 10017 | kCDXCharSetMacMalayalam | x-mac-Malayalam |
| 10018 | kCDXCharSetMacSinhalese | x-mac-sinhalese |
| 10019 | kCDXCharSetMacBurmese | x-mac-burmese |
| 10020 | kCDXCharSetMacKhmer | x-mac-khmer |
| 10021 | kCDXCharSetMacThai | x-mac-thai |
| 10022 | kCDXCharSetMacLao | x-mac-lao |
| 10023 | kCDXCharSetMacGeorgian | x-mac-georgian |
| 10024 | kCDXCharSetMacArmenian | x-mac-armenian |
| 10025 | kCDXCharSetMacSimpChinese | x-mac-simpChinese |
| 10026 | kCDXCharSetMacTibetan | x-mac-tibetan |
| 10027 | kCDXCharSetMacMongolian | x-mac-mongolian |
| 10028 | kCDXCharSetMacEthiopic | x-mac-ethiopic |
| 10029 | kCDXCharSetMacCentralEuroRoman | x-mac-ce |
| 10030 | kCDXCharSetMacVietnamese | x-mac-vietnamese |
| 10031 | kCDXCharSetMacExtArabic | x-mac-extArabic |
| 10032 | kCDXCharSetMacUninterpreted | x-mac-uninterpreted |
| 10079 | kCDXCharSetMacIcelandic | x-mac-icelandic |
| 10081 | kCDXCharSetMacTurkish | x-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.