#941321 anthy: adding entries to src-diclib/u2e.h

Package:
anthy
Source:
anthy
Description:
Japanese kana-kanji conversion - utilities
Submitter:
Nobutaka Mantani
Date:
2019-09-28 15:51:04 UTC
Severity:
normal
#941321#5
Date:
2019-09-28 15:49:33 UTC
From:
To:
anthy-0.4 fails to convert from "から" (kara) to "〜" (WAVE DASH)
and converted character becomes "〓" (GETA MARK).

The attached patch adds the following entries to the UTF-8 - EUC-JP
conversion table in src-diclib/u2e.h and it fixes the issue.

Unicode                        Unicode                       EUC-JP
U+301C WAVE DASH            -> U+FF5E FULLWIDTH TILDE        0xA1C1
U+2014 EM DASH              -> U+2015 HORIZONTAL BAR         0xA1BD
U+2016 DOUBLE VERTICAL LINE -> U+2225 PARALLEL TO            0xA1C2
U+2212 MINUS SIGN           -> U+FF0D FULLWIDTH HYPHEN-MINUS 0xA1DD

Regards,