Public bug reported:

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/rkhelper.c" should be written in EUC-JP encoding.
Please change file encoding and rebuild.

$ nkf -e --in-place src-util/rkhelper.c

** Affects: anthy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1844305

Title:
  anthy-agent outputs broken Japanese messages with mixed encoding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anthy/+bug/1844305/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to