首先檢查codepage
這個部份是OS要support
但是AP也要知道是否OS有support
請使用codepagetools
(\SW\Project\Tools\Binary\CE program\codepagetools)
偵測目前OS support的codepage
請參考
{ L"ENG", 0x0809, 1252 }, // LANGUAGE_ENGLISH = 0: English United Kingdom
{ L"FRA", 0x040c, 1252 }, // LANGUAGE_FRENCH = 1: French France
{ L"DEU", 0x0407, 1252 }, // LANGUAGE_GERMAN = 2: German Germany
{ L"ITA", 0x0410, 1252 }, // LANGUAGE_ITALIAN = 3: Italian Italy
{ L"ESP", 0x040a, 1252 }, // LANGUAGE_SPANISH = 4: Spanish Spain (Traditional sort)
{ L"NLD", 0x0413, 1252 }, // LANGUAGE_DUTCH = 5: Dutch Netherlands
{ L"PTG", 0x0816, 1252 }, // LANGUAGE_PORTUGAL = 6: Portuguese Portugal
{ L"DAN", 0x0406, 1252 }, // LANGUAGE_DENMARK = 7: Danish Denmark
{ L"SVE", 0x041d, 1252 }, // LANGUAGE_SWEDEN = 8: Swedish Sweden
{ L"NOR", 0x0414, 1252 }, // LANGUAGE_NORWAY = 9: Norwegian Norway (Bokmal)
{ L"FIN", 0x040b, 1252 }, // LANGUAGE_FINNISH = 10: Finnish Finland
{ L"ELL", 0x0408, 1253 }, // LANGUAGE_GREEK = 11: Greek Greece
{ L"TRK", 0x041f, 1254 }, // LANGUAGE_TURKISH = 12: Turkish Turkey
{ L"CSY", 0x0405, 1250 }, // LANGUAGE_CZECH = 13: Czech Czech Republic
{ L"PLK", 0x0415, 1250 }, // LANGUAGE_POLISH = 14: Polish Poland
{ L"HUN", 0x040e, 1250 }, // LANGUAGE_HUNGARIAN = 15: Hungarian Hungary
{ L"RUS", 0x0419, 1251 }, // LANGUAGE_RUSSIA = 16: Russian Russia
{ L"ARA", 0x0401, 1256 }, // LANGUAGE_ARABIC = 17: Arabic Saudi Arabia
{ L"SKY", 0x041b, 1250 }, // LANGUAGE_SLOVAK = 18: Slovak Slovakia
{ L"SLV", 0x0424, 1250 }, // LANGUAGE_SLOVENIAN = 19: Slovenian Slovenia
{ L"HRV", 0x041a, 1250 }, // LANGUAGE_CROATIAN = 20: Croatian Croatia
{ L"ROM", 0x0418, 1250 }, // LANGUAGE_ROMANIAN = 21: Romanian Romania
{ L"BGR", 0x0402, 1251 }, // LANGUAGE_BULGARIAN = 22: Bulgarian Bulgaria
{ L"PTB", 0x0416, 1252 }, // LANGUAGE_BRAZIL = 23: Portuguese Brazil
{ L"JPN", 0x0411, 932 }, // LANGUAGE_JAPAN = 24: Japanese Japan
{ L"CHT", 0x0404, 950 }, // LANGUAGE_TCHINESE = 25: Chinese Taiwan
{ L"CHS", 0x0804, 936 }, // LANGUAGE_SCHINESE = 26: Chinese PRC
{ L"THA", 0x041e, 874 }, // LANGUAGE_THAI = 27: Thai Thailand
{ L"MSL", 0x043e, 1252 }, // LANGUAGE_MALAY = 28: Malay Malaysia
{ L"IND", 0x0421, 1252 } // LANGUAGE_INDONESIAN = 29: Indonesian Indonesia (Bahasa)
沒有留言:
張貼留言