Native2ASCII - Local Code - to -ASCII Code Converter

xiaoxiao2021-03-06  66

Convert files containing local coding characters (both Latin1 and Unicode characters) to Unicode encoded characters. Structure Native2ASCII [Options] [InputFile "] Description Java compiler and other Java tools can only process files containing Latin-1 and / or Unicode encoding (/ UDDDD marks) characters. Native2ASCII converts files with other characters encoded into files containing Latin-1 and / or Unicode encoded characters. If OUTPUTFILE is omitted, the standard output device is used. Also, if INPUTFILE is also omitted, you will enter with a standard input device. Options -Reverse performs the opposite operation: Convert files containing Latin-1 and / or Unicode encoded characters to files containing local encoded characters: -encoding encoding_name Specifies the encoded name used by the conversion process. The default encoding is obtained from the system properties file.encoding. Encoding_name strings must be the string shown in the first column below.

-------------------------------------------------- ----------- Converter Description Class --------------------------------- -------------------------- 8859_1 ISO 8859-18859_2 ISO 8859-38859_4 ISO 8859-48859_5 ISO 8859-58859_6 ISO 8859- 68859_7 oso 8859-78859_8 ISO 8859-9BIG5 BIG5 code, Traditional Chinese CNS11643 CNS 11643, Traditional Chinese CP037 United States, Canada (two languages, French), Netherlands, Portugal, Brazil, Australia CP1006 IBM AIX Pakistan (Ur都) CP1025 IBM multilingual Siri: Bulgaria, Bosnia Herzegovina, Macedonia (FYR) CP1026 IBM Latin-5, Turkey CP1046 IBM Open Edition US EBCDICCP1097 IBM Iran (Persian) / Persian CP1098 IBM Iran (Persian) / Persian (PC) CP1112 IBM Latvia,

(PC) Cp1250 Windows Slavic Eastern Europe Cp1251 Windows Cp1252 Windows Latin-1Cp1253 Windows Cp1254 Windows Greek Hebrew Turkey Cp1255 Windows Cp1256 Windows Arab Cp1257 Windows Baltic Lithuania Cp1122 IBM Estonia Cp1123 IBM Cp1124 IBM AIX Ukraine Ukraine Ukraine Cp1258 Windows Cp1125 IBM Vietnamese CP1381 IBM OS / 2, DOS People's Republic of China (PRC) CP1383 IBM AIX People's Republic of China (PRC) CP273 IBM Austria, Germany CP277 IBM Denmark, Norway CP278 IBM Finland, Sweden CP280 IBM Italy CP284 IBM Catalonian / Spain, Latin America Spanish cp285 IBM UK, Ireland CP297 IBM France CP33722 IBM-Eucjp - Japanese (5050 Super Collection) CP420 IBM Arab CP424 IBM Hebele CP437 MS-DOS USA, Australia, New Zealand, South Africa CP500 EBCDIC 500V1CP737 PC Greek CP775 PC Polo Raw CP838 IBM Thailand Expansion SBCSCP850 MS-DOS LATIN-1CP852 MS-DOS LATIN-2CP855 IBM Slavic CP857 IBM Turkish CP860 MS-DOS Portuguese CP861 MS-DOS Icelandic CP862 PC Hebele CP863 MS-DOS Canada French CP864 PC Arabic CP865 MS-DOS Terman CP866 MS-DOS Russian CP868 MS-DOS Pakistani CP869 IBM Modern Greek CP870 IBM multilingual latin-2CP871 IBM Icelandic CP874 IBM Thai CP875 IBM Greek CP918 IBM Pakistan (Urdu) CP921 IBM Latvia, Lithuania (AIX, DOS) CP922 IBM Estonia (AIX, DOS) CP930 and 4370 UDC mix Japanese, 5026 supercoming CP933 with 1880 UDC mixed Korean, 5029 supercoming CP935 and 1880 UDC mixed Simplified Chinese host, 5031 supercoming CP937 and 6204 UDC mixed Traditional Chinese, 5033 supercoming CP939 and 4370 UDC Mixed Japanese Latin letters, 5035 superchard cp942 Japanese (OS / 2),

932 Super Collection CP948 OS / 2 Chinese (Taiwan), 938 Super Collection CP949 PC Korean CP950 PC Chinese (Hong Kong, Taiwan) CP964 AIX Chinese (Taiwan) CP970 AIX Korean Eucjis JIS, EUC Code, Japanese GB2312 GB2312, EUC Code, Simplified Chinese GBK GBK, Simplified Chinese ISO2022CN ISO 2022 CN, Chinese ISO2022CN_CNS ISO-2022-CN form in the form of CNS 11643, Traditional Chinese ISO2022CN_GB ISO-2022-CN in the form of GB 2312, Simplified Chinese ISO2022KR ISO 2022 KR, Korean JIS JIS, Japanese JIS0208 JIS 0208, Japanese KOI8_R KOI8-R, Russian KSC5601 KS C 5601, Korean MS874 Windows Thai MacArabic Macintosh Arabic MacCentralEurope Macintosh Latin-2MacCroatian Macintosh Croatian MacCyrillic Macintosh Slavic MacDingbat Macintosh DingbatMacGreek Macintosh Greek MacHebrew Macintosh Hebrew MacIceland Macintosh Iceland Macromania Macintosh Romanian MacSymbol Macintosh symbol Macthai Macintosh Thai Macturkish Macintosh Turkish Macukraine Macintosh Ukrainian Sjis Shift-JIS, Japanese Utf8 Utf8 UTF-8native2ascii [-reverse] [-encoding encoding] [inputfile [outputfile]] Forward example: To: Unicodenative2ascii -encoding gb2312 Native2ASCII.properties Native2ASCII_zh_CN.properties reverse: Reverse Unicode To designate code native2ascii -reverse -encoding Big5 Native2ASCII_zh_CN. Properties Native2ASCII_ZH_TW.Properties

Can be converted instrumentalization: 1. Create a batch file (.bat), write the code:. Del ApplicationResources.propertiesnative2ascii -encoding gb2312 ApplicationResources_ISO.properties ApplicationResources.properties2 create a resource file named ApplicationResources_ISO.properties 3. After The file content that needs to be converted to ApplicationResources_iso.properties is required to convert to ApplicationResources_iso.properties. And run the batch file

转载请注明原文地址:https://www.9cbs.com/read-118701.html

New Post(0)