simplify function of `lang2char` and change charset from Shift-JIS to UTF8