Monday, July 10, 2006

PHP: Half-byte Katakana conversion (Single-byte, Hankaku, 半角カタカナ)

mb_convert_kana() is not working for me so I found a neat php code that can convert Hankaku to Zenkaku katakana and vice versa. Also has character set conversion. It's called JCode. It's free without warranty. I've only tested jcode-LE for now.

This is the link for the one with UTF-8:
http://www.spencernetwork.org/jcode/

This is the light edition without UTF-8, only supports EUC-JP, Shift-JIS, ISO-2022-JP (JIS):
http://www.spencernetwork.org/jcode-LE/

No comments: