This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]