This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/2872] Transliteration Cyrillic -> ASCII fails
- From: "ekobylkin at paypal dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 08 Sep 2015 09:11:07 +0000
- Subject: [Bug localedata/2872] Transliteration Cyrillic -> ASCII fails
- Auto-submitted: auto-generated
- References: <bug-2872-131 at http dot sourceware dot org/bugzilla/>
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 on the CC list for the bug.