[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnokii 0.6.31 problem with german umlauts
From: |
lsg |
Subject: |
Re: gnokii 0.6.31 problem with german umlauts |
Date: |
Fri, 17 Aug 2012 08:33:49 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
W dniu 2012-08-17 00:49, Daniele Forsi pisze:
> 2012/8/16 Pawel Kot:
>
>> That should be UTF-8 related I guess.
>
> I can reproduce the bug with a non -UTF-8 locale and I will look into
> it tomorrow
>
> I did:
> dpkg-reconfigure locales
> and chose address@hidden
> then:
> echo "This is a testmessage äöüÄÖÜß" | iconv -t iso-8859-15 >/tmp/x
> export address@hidden
Maybe use something like that will help with foreign characters
/*
| -------------------------------------------------------------------
| Foreign Characters
| -------------------------------------------------------------------
| This file contains an array of foreign characters for transliteration
| conversion used by the Text helper
|
*/
$foreign_characters = array(
'/ä|æ|ǽ/' => 'ae',
'/ö|œ/' => 'oe',
'/ü/' => 'ue',
'/Ä/' => 'Ae',
'/Ü/' => 'Ue',
'/Ö/' => 'Oe',
'/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά/' => 'A',
'/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά/' => 'a',
'/Ç|Ć|Ĉ|Ċ|Č/' => 'C',
'/ç|ć|ĉ|ċ|č/' => 'c',
'/Ð|Ď|Đ|Δ/' => 'Dj',
'/ð|ď|đ|δ/' => 'dj',
'/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ/' => 'E',
'/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε/' => 'e',
'/Ĝ|Ğ|Ġ|Ģ|Γ/' => 'G',
'/ĝ|ğ|ġ|ģ|γ/' => 'g',
'/Ĥ|Ħ/' => 'H',
'/ĥ|ħ/' => 'h',
'/Ì|Í|Î|Ï|Ĩ|Ī|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'/π/' => 'p',
'/β/' => 'v',
'/μ/' => 'm',
'/ψ/' => 'ps',
);
- gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/12
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/13
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, Axel Gruber, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts, Daniele Forsi, 2012/08/16
- Re: gnokii 0.6.31 problem with german umlauts,
lsg <=
- Re: gnokii 0.6.31 problem with german umlauts, Daniele Forsi, 2012/08/18
- Re: gnokii 0.6.31 problem with german umlauts, Pawel Kot, 2012/08/20
- Re: gnokii 0.6.31 problem with german umlauts, Stefan Rupprecht, 2012/08/20