Bug 196713

Summary: Transliteration does not work in cs_CZ locale
Product: [Fedora] Fedora Reporter: Jan "Yenya" Kasprzak <kas>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-19 17:45:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan "Yenya" Kasprzak 2006-06-26 17:20:24 UTC
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):
glibc-common-2.4-8

How reproducible:
100%

Steps to Reproduce:
1. LC_CTYPE=cs_CZ.UTF-8 iconv -f utf-8 -t us-ascii//TRANSLIT <<EOF
á
EOF
# the above was lowercase "a" with acute above character
  
Actual results:
The character "á" is transliterated as "?".

Expected results:
The character "á" should be transliterated as "a".


Additional info:
Pavel Kankovsky suggested that the following lines should be added to
the locale definition, to the LC_CTYPE section:

  translit_start
  include "translit_combining";""
  translit_end

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.

Comment 1 Ulrich Drepper 2006-07-30 22:14:47 UTC
I've added transliteration support in all locales now.  The next rawhide build
will have the changes.

Comment 2 Ulrich Drepper 2006-08-19 17:45:55 UTC
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.