[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
recode-sr-latin: support for NFC accented characters
From: |
Chusslove Illich |
Subject: |
recode-sr-latin: support for NFC accented characters |
Date: |
Mon, 27 Jul 2009 20:26:13 +0200 |
User-agent: |
KMail/1.11.2 (Linux/2.6.26-2-686; KDE/4.2.2; i686; ; ) |
In Serbian a vowel letter may have one of several accent diacritics mounted
as necessary, e.g. to disambiguate homonyms in close context or to more
precisely describe pronunciation; Serbian Cyrillic XKB layouts were recently
upgraded to enable typing accented letters. Most of those letters are
available only as NFD (combining diacritic), and thus recode-sr-latin will
convert them to Latin without issues.
However, eight of the accented letters are available as NFC too (ѐЀѝЍӣӢӯӮ),
and recode-sr-latin should be upgraded to convert them to their Latin NFC
counterparts. The attached patch is supposed to achieve this.
I've modified the unit test to check these additions; I've also replaced the
existing two lines with lower and uppercase equivalents of "Quick brown
fox...", to cover more possibilities.
--
Chusslove Illich (Часлав Илић)
recode-sr-latin-nfc-accents-01.diff
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
- recode-sr-latin: support for NFC accented characters,
Chusslove Illich <=