[PATCH] S/390: HW accelerated iconv module for iso-8859-1/cp37 conversions

Andreas Krebbel krebbel@linux.vnet.ibm.com
Tue Mar 17 17:57:00 GMT 2009


> Also, isn't ISO 8859-1 outdated?  Almost nobody in Europe can use it
> because of the missing € sign.  You should rather support ISO 8859-15 etc.

Unfortunately this turned out to be impossible. The hardware instruction 
is not able to deal with unconvertable bytes. Once issued the 
instruction converts the input string using the provided conversion 
table without being able to throw an error.  So it seems that this 
particular instruction can only be used for conversions between cp037 
and iso-8859-1. There are also ebcdic variants supporting the euro sign 
but unfortunately these aren't able to deal with the other chars added 
with 8859-15 (0xa6, 0xa8, 0xb4, ...).

Bye,

-Andreas-

> 
> - --
> ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkmr4iAACgkQ2ijCOnn/RHRo4gCgrFra6xKl40BhbztyoS/qFD1x
> k6YAnAzD3WpV2rCG5z5FSZ5DmwufsAM3
> =BtVK
> -----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list