encoding

From OpenKore Wiki
(Redirected from Encoding)
Jump to navigation Jump to search

Character encoding.

Encode CPAN library is used.

Encodings available in your environment can be checked with console command:

eval use Encode; Log::message("$_\n") for Encode->encodings(':all')

There are some encoding aliases provided.

Alias Encoding Language
Western cp1252 Language which uses a Roman-based alphabet. Example: English, German, French, Portuguese, Indonesian, etc
Tagalog
Simplified Chinese GBK Simplified Chinese
Traditional Chinese Big5 Traditional Chinese
Korean cp949 Korean
Russian cp1251 Russian, or a Cyrillic-based language
Cyrillic
Japanese Shift_JIS Japanese
Thai cp874 Thai
Arabic cp1256 Arabic

Developer Notes

Aliases are defined in I18N.

Changelog

r8138

Arabic added.

r5328

Western changed to cp1252 (was ISO-8859-1). Thai changed to cp874 (was ISO-8859-11).

r5317

Tagalog changed to cp1251 (was ISO-8859-1).

r5075

Korean changed to cp949 (was EUC-KR).

r4063

Simplified Chinese added. Traditional Chinese added. Chinese removed (was EUC-CN).

r4033

Russian and Cyrillic changed to cp1251 (was ISO-8859-5).

r3936

Internationalization and UTF-8 support.