This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/22371] U+FFE2 and U+FFE4, iconv does not convert to HALFWIDTH(EUC-JISX0213)
- From: "nakajima.akira at nttcom dot co.jp" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sourceware dot org
- Date: Wed, 01 Nov 2017 04:27:48 +0000
- Subject: [Bug localedata/22371] U+FFE2 and U+FFE4, iconv does not convert to HALFWIDTH(EUC-JISX0213)
- Auto-submitted: auto-generated
- References: <bug-22371-716@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22371
--- Comment #3 from Akira Nakajima <nakajima.akira at nttcom dot co.jp> ---
I didn't know TRANSLATE option. Thanks for teaching.
But I don't understand following works.
Following are all FULLWIDTH chars, and result of convert UTF-8 to EUC-JISX0213.
char EUC-JISX0213 EUC-JISX0213//TRANSLIT
U+FFE0 ¢ null a1 f1(¢ HALF = U+00A2)
U+FFE1 £ null a1 f2(£ HALF = U+00A3)
U+FFE2 ¬ null a2 cc(¬ HALF = U+00AC)
U+FFE3  ̄ a1 b1(‾ HALF = U+203E) a1 b1
U+FFE4 ¦ null a9 a5(¦ HALF = U+00A6)
U+FFE5 ¥ a1 ef(\ HALF = U+00A5) a1 ef
I can understand that iconv convert FULLWIDTH to HALFWIDTH with //TRANSLIT
,because same FULLWIDTH chars are not exist in EUC-JISX0213, but HALFWIDTH
exist.
But U+FFE3 and U+FFE5 are converted to HALFWIDTH therefore with and without
//TRANSLIT.
Is this works correct?
--
You are receiving this mail because:
You are on the CC list for the bug.