Add support for Japanese text encodings