Crate kanji_hanzi_converter
source ·Expand description
Converts between Japanese Kanji Characters, Traditional Chinese Characters and Simplified Chinese Characters.
Note that there’s some abiguity between the converting
E.g. “壹” in traditional chinese can be “一” or “壹” in Japanese Kanji.
Another Example for ambiguity are those entries from the underlying dataset. The correct entry is typically line 5055, the line 3365 is strange. Line Japanese Traditional Simplified 3365 學 學 学 5055 学 學 学 5383 斈 學 学
For that reason, only japanese characters that are also in the kanji list (2310 characters) are considered.
Structs
Functions
- Converts a string of Chinese Characters to Japanese Kanji Characters Leaves chars unchanged that can’t be converted.
- Converts a string of Japanese Kanji Character to Simplified Chinese Characters Leaves chars unchanged that can’t be converted.
- Converts a string of Japanese Kanji Character to Traditional Chinese Characters Leaves chars unchanged that can’t be converted.