Convert Japanese Kanji to Chinese character
Add this line to your application's Gemfile:
gem 'kanji_chinese_converter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kanji_chinese_converter
KanjiChineseConverter.convert("東京都渋谷区渋谷")
# => "东京都涩谷区涩谷"
KanjiChineseConverter.convert("日本語の文章も漢字のみ変換可能です。")
# => "日本语の文章も汉字のみ变换可能です。"
- Takayoshi Nishida <[email protected]>
The gem is available as open source under the terms of the MIT License.