Bug 240614 - japanese/anthy: Fix anthy-agent
Summary: japanese/anthy: Fix anthy-agent
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-16 13:00 UTC by Yoshihiro Takahashi
Modified: 2019-09-16 14:14 UTC (History)
0 users

See Also:
nobutaka: maintainer-feedback+


Attachments
Fix anthy-agent (2.51 KB, application/x-bzip)
2019-09-16 13:00 UTC, Yoshihiro Takahashi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yoshihiro Takahashi freebsd_committer 2019-09-16 13:00:42 UTC
Created attachment 207537 [details]
Fix anthy-agent

The newest version of the anthy-agent command is completely broken.
When I input a numeral or a symbol, it returns strings of UTF-8.
But it must returns strings of EUC-JP.

The attached patch fixes this problem.
Comment 1 commit-hook freebsd_committer 2019-09-16 14:03:09 UTC
A commit references this bug:

Author: nobutaka
Date: Mon Sep 16 14:02:48 UTC 2019
New revision: 512179
URL: https://svnweb.freebsd.org/changeset/ports/512179

Log:
  Convert character encoding of src-util/rkhelper.c to fix a breakage of
  anthy-agent that garbled characters are returned if a numeral or a symbol
  is input.

  PR:		240614
  Submitted by:	nyan

Changes:
  head/japanese/anthy/Makefile
Comment 2 MANTANI Nobutaka freebsd_committer 2019-09-16 14:14:00 UTC
Fixed by converting character encoding of src-util/rkhelp.c with iconv command.
Thanks!