[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#940884: anthy: garbled characters with anthy.el



Package: anthy-el
Version: 1:0.4-2
Followup-For: Bug #940884

Hi,

> It seems that anthy-agent returns numerals and symbols with UTF-8
> and other characters with EUC-JP. Converting character encoding of
> src-util/rkhelper.c from UTF-8 to EUC-JP fixes the problem.

I think this bug has a major effect on the usability of this package.

(a) In UTF-8 env, most characters are broken
(b) In euc-jp env, numerals and symbols are broken

How to reproduce:
 a-1. Run emacs with LANG=ja_JP.UTF-8 or LANG=C.UTF-8
 a-2. Set input method to japanese-anthy (C-x RET C-\ japanese-anthy)
 a-3. Switch buffer to scratch (C-x b *scratch*)
 a-4. Enable input-method (C-\)
 a-5. Hit '1' 'a'
 a-6. It should show "|1あ", but you see broken characters "|1\244\242"

 b-1. Run emacs with LANG=ja_JP.eucJP
 (b-2 - b-5 : same as a-2 - a-5)
 b-6. It should show "|1あ", but you see broken characters "|鐚\221あ"


Regards,
Nobuhiro Ban


Reply to: