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 Desktop
Packages, which is subscribed to anthy in Ubuntu.
https://bugs.launchpad.net/bugs/1844305

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

Status in anthy package in Ubuntu:
  New

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

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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to