[Bug localedata/2872] Transliteration Cyrillic -> ASCII fails

ekobylkin at paypal dot com sourceware-bugzilla@sourceware.org
Tue Sep 8 09:11:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=2872

Egor Kobylkin <ekobylkin at paypal dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8586|0                           |1
        is obsolete|                            |

--- Comment #14 from Egor Kobylkin <ekobylkin at paypal dot com> ---
Created attachment 8588
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8588&action=edit
a version that works for localedef

I have tested it with the en_GB locale including into the following section
LC_CTYPE
copy "i18n"

translit_start
include "translit_combining";"translit_cyrillic";""
translit_end
END LC_CTYPE

let's copy en_GB to en_TR for the testing purposes and generate the new locale
en_TR.UTF-8 while being in glibc/localedata/locales
I18NPATH=./ localedef -f UTF-8 -i en_TR en_TR.UTF-8
Now we can test the transliteration 

$echo Съешь ещё этих мягких французских булок, да выпей же чаю |LOCPATH=.
LC_ALL=en_TR.UTF-8 LANG=en_TR.UTF-8 iconv -f UTF-8 -t ASCII//TRANSLIT
S`es` esy etix mygkix francuzskix bulok, da vypej ze cay

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Libc-locales mailing list