Re: display of CP-1258
On Sunday, February 8, 2004 at 11:07:37 AM +0000, Edmund Grimley-Evans wrote:
> message vi-ed to have cp1255 instead of windows-1258 I get "v?ux",
> with my patch and glibc's iconv.
Me too: Sorry for confusion. I get exactly that (vi-ed to
"windows-1255", libiconv 1.9.2, your 2nd patch):
| M?lleurs v?ux ?tous !
| Je peux ?entuellement me rendre disponible.
The 'u' is there OK after undefined 9C, but other chars ('i', ' ',
'v') are eaten after unconvertable E9 (yod) and E0 (alef).
| test("M\xE9illeurs", "windows-1255", "ISO-8859-1");
| test("v\xE0ux", "windows-1255", "ISO-8859-1");
both gave:
| Converting from windows-1255 to ISO-8859-1
| iconv returned -1
| Read 2 bytes and wrote 1 bytes
So it's a bug in Glibc 2.3.2 iconv and libiconv 1.9.2? I'll send the
thread to bug-gnu-libiconv.
Bye! Alain.
--
Everything about locales on Sven Mascheck's excellent site at new
location <URL:http://www.in-ulm.de/~mascheck/locale/>. The little tester
utility is at <URL:http://www.in-ulm.de/~mascheck/locale/checklocale.c>.