[]Module gokien::charset

Hard-coded charset tables for output.

Q: Vietnamese use UTF-8. Why not use some crates like unicode-normalization to encode and decode thing?

A: In my opinion, those below charsets are specialized for Vietnamese. It should be more light-weight. Also, in the future of this lib, there would be legacy charsets to support older input engines like Unikey.

Constants

VN_UTF8_TABLE

A map table, encoded in UTF-8 charset, of all character in Vietnamese.

Functions

get_charset_mapping
get_charset_table