Red Hat Bugzilla – Bug 196713
Transliteration does not work in cs_CZ locale
Last modified: 2007-11-30 17:11:36 EST
Description of problem:
when using the cs_CZ.UTF-8 locale in LC_CTYPE category, iconv cannot encode
non-ascii data to the "us-ascii//TRANSLIT" encoding.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. LC_CTYPE=cs_CZ.UTF-8 iconv -f utf-8 -t us-ascii//TRANSLIT <<EOF
# the above was lowercase "a" with acute above character
The character "Ã¡" is transliterated as "?".
The character "Ã¡" should be transliterated as "a".
Pavel Kankovsky suggested that the following lines should be added to
the locale definition, to the LC_CTYPE section:
I don't know the transliteration rules for the English language, but the en_US
and en_GB locales should probably be changed as well For example, the cy_GB
locale contains the above section as well.
I've added transliteration support in all locales now. The next rawhide build
will have the changes.
The current rawhide code has the fix. There is an unrelated problem with iconv
emitting an unnecessary error message which can be ignored for now. It's fixed
in cvs, too, and will be in rawhide soon.