diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-10-11 11:10:34 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-10-11 11:10:34 +0200 |
commit | 176ae32b3f32b45a6ff8c81921aa9fbed2e28ace (patch) | |
tree | c8abf4a6964f83b6772c93ef741de35f3167a797 /inc | |
parent | 3adb34502b7478af0367f6960bf8bc3aba506b44 (diff) | |
download | rpg-176ae32b3f32b45a6ff8c81921aa9fbed2e28ace.tar.gz rpg-176ae32b3f32b45a6ff8c81921aa9fbed2e28ace.tar.bz2 |
Do romanization of certain characters different from what deaccent does FS#1117
Some characters are deaccented/romanized different in different languages, we
now do one way in deaccent and the other way in romanize. Giving the user a
choice what she prefers. (Currently affects a handful scandinavian letters).
darcs-hash:20081011091034-7ad00-08535e03639b0b0c634e2438609ac10545f14f48.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/utf8.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/utf8.php b/inc/utf8.php index 99e2fcaa1..966c40c6c 100644 --- a/inc/utf8.php +++ b/inc/utf8.php @@ -1184,6 +1184,9 @@ $UTF8_SPECIAL_CHARS2 = */ global $UTF8_ROMANIZATION; $UTF8_ROMANIZATION = array( + // scandinavian - differs from what we do in deaccent + 'å'=>'a','Å'=>'A','ä'=>'a','Ä'=>'A','ö'=>'o','Ö'=>'O', + //russian cyrillic 'а'=>'a','А'=>'A','б'=>'b','Б'=>'B','в'=>'v','В'=>'V','г'=>'g','Г'=>'G', 'д'=>'d','Д'=>'D','е'=>'e','Е'=>'E','ё'=>'jo','Ё'=>'Jo','ж'=>'zh','Ж'=>'Zh', |