anthy-agent outputs broken Japanese messages with mixed encoding
Bug #1844305 reported by
taraijpn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anthy (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Package: anthy
Version: 1:0.3-6ubuntu1
anthy-agent outputs UTF-8 symbol and EUC-JP hiragana message.
$ echo "aiueo" | anthy-agent | nkf -g
EUC-JP (It is correct.)
$ echo "-" | anthy-agent | nkf -g
UTF-8 (It should be EUC-JP.)
$ echo "aiueo-" | anthy-agent | nkf -g
Shift_JIS (message is broken. It should be EUC-JP.)
This error has an adverse effect on anthy-el (emacs).
Solution?:
$ nkf -g src-util/rkhelper.c
UTF-8
However, "src-util/
Please change file encoding and rebuild.
$ nkf -e --in-place src-util/rkhelper.c
To post a comment you must log in.