[Bug localedata/22371] U+FFE2 and U+FFE4, iconv does not convert to HALFWIDTH(EUC-JISX0213)
nakajima.akira at nttcom dot co.jp
sourceware-bugzilla@sourceware.org
Wed Nov 1 04:27:00 GMT 2017
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.
More information about the Libc-locales
mailing list