bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] translit_page04


From: LRN
Subject: Re: [bug-gnu-libiconv] translit_page04
Date: Thu, 22 Dec 2011 09:38:51 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0a1) Gecko/20111219 Thunderbird/11.0a1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22.12.2011 1:39, Bruno Haible wrote:
> Hi,
> 
>> I've been trying to find, why iconv() cannot convert a simple 
>> UTF-8-encoded string with cyrillic (0x401-0x491) characters from 
>> "UTF-8" to "ASCII//TRANSLIT" - and it led me to translit_index
>> macro, which does most of the transliteration. To my horror the
>> range responsible for the characters i'm interested in is NOT
>> covered by libiconv. There is supposed to be a table, presumably
>> named translit_page04, and it's not there. Is there a reason why
>> it isn't there?
> 
> Yes. The reason is that libiconv - unlike glibc - supports only
> locale independent transliterations. This means, the
> transliteration table can only contain transliterations on which
> everyone will agree.
> 
> Now, Cyrillic characters are used by several languages: Russian,
> Ukrainian, Serbian, Bulgarian, Byelorussian, Macedonian. I believe
> that the pronounciation of some of the letters are different in
> these languages, and therefore the transliteration (even to English
> orthography) would be different.
> 
> So, the fix for you is to use a glibc system. glibc has locale
> dependent transliterations.
Actually, locale-independency is a benefit i want to keep. I don't
care if transliteration is not agreed-upon (and users won't care
either). Do you know any locale-independent transliteration libraries
i could use?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO8sJqAAoJEOs4Jb6SI2CwtdcIAIsX8+QATfu037xuft59Hj1y
gaVNy2A7aK8T/N/fGliK85ouy6YddsoZl4Pg0cM6B+pjZ5IaImD9NampmynAByAC
WmJmhExxilqVRJSFEsKxuY732+SQ9m8JM4FacL5b7tuciyED0RgALbE/GAt7hiNJ
3q2J4dv3gsTLc/XsjY/NtZVSt2EwgQhHvWdOxsj723l5waInxA2tE9K2c3vtyINM
5nqm4y7xwkau6vMWpoHKdS8b2A90uRmxLFa8SwFqTrMGgDQ4zm2ik81BgxgonY05
Dng8Kr+Rh6Oed4T2g+FU7rRcqae2k8iw2LNnGFgM6SEISHv2HvWcn3ge933AZe4=
=sHRx
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]