Specifies the encoding of the generated plain text files. The name should be a preferred MIME name (canonical name) as given in the IANA Registry.
If the encoding is not specified, the Java machine's default encoding will be used. (Its name appears as the default value of this option.)
Some frequently used encodings are shown in the following table, which you could use as reference:
Encoding | Canonical Name |
Arabic (Windows) | Windows-1256 |
Arabic (ISO) | ISO-8859-6 |
Baltic (ISO) | ISO-8859-4 |
Baltic (Windows) | Windows-1257 |
Central European (DOS) | IBM852 |
Central European (ISO) | ISO-8859-2 |
Central European (Windows) | Windows-1250 |
Chinese Simplified (GB2312) | gb2312 |
Chinese Simplified (HZ) | HZ-GB-2312 |
Chinese Traditional (Big5) | Big5 |
Cyrillic (DOS) | Cp866 |
Cyrillic (ISO) | ISO-8859-5 |
Cyrillic (KOI8-R) | KOI8-R |
Cyrillic (KOI8-U) | KOI8-U |
Cyrillic (Windows) | Windows-1251 |
English | US-ASCII |
Greek (ISO) | ISO-8859-7 |
Greek (Windows) | Windows-1253 |
Hebrew (ISO) | ISO-8859-8 |
Hebrew (Windows) | Windows-1255 |
Japanese (EUC) | EUC-JP |
Japanese (JIS-Allow 1 byte Kana) | ISO-2022-JP |
Japanese (Shift-JIS) | Shift_JIS |
Korean | KS_C_5601-1987 |
Korean | ISO-2022-KR |
Korean (EUC) | EUC-KR |
Latin 9 (ISO) | ISO-8859-15 |
Thai (Windows) | Windows-874 |
Turkish (ISO) | ISO-8859-9 |
Turkish (Windows) | Windows-1254 |
8-bit Unicode Transformation Format | UTF-8 |
16-bit Unicode Transformation Format, big-endian byte order | UTF-16BE |
16-bit Unicode Transformation Format, little-endian byte order | UTF-16LE |
16-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark | UTF-16 |
Vietnamese (Windows) | Windows-1258 |
Western European (ISO) | ISO-8859-1 |
Western European (Windows) | Windows-1252 |