Re: Bug 24179
- From: Pablo Saratxaga <pablo mandrakesoft com>
- To: gnome-i18n gnome org
- Subject: Re: Bug 24179
- Date: Fri, 14 Jun 2002 15:33:49 +0200
Kaixo!
On Fri, Jun 14, 2002 at 03:20:55PM +0300, Ecmel Ercan wrote:
> Hi,
>
> There is a nasty bug which makes evolution completely unusable under
> tr_TR.ISO-8859-9 locale.
>
> http://bugzilla.ximian.com/show_bug.cgi?id=24179
That problem is not limited to tr_TR.ISO-8859-9 locale, but to
all Turkish (tr) and Azeri (az) locales (and maybe other locales as well).
The problem is that i/I are not lower/upercase pairs.
> g_strdown((char *)locale_charset);
>
> Due to the different capitalization rule, in the tr_TR locale, the
> locale_charset becomes (dotlessi)so-8859-9 instead of iso-8859-9.
g_strdown() CANNOT be used to lowercase strings supposed to be in ascii
and in locale independent encoding (like locale names, configuration
keywords (like "Name=", "Comment=" etc); for that, a different function
must be used that does NOT use the locale dependent upper/lower fucntions,
but instead use fixed, locale independent, ascii only, rules based solely
on the numeric values of the chars.
I don't know if such functions exist in "glib", if not, they should be added.
and used when needed.
> I have posted a patch but I am not sure whether it handles the situation
> correctly.
No.
It would require to add a new line for each locale (tr_TR.UTF-8, az_AZ.UTF-8,
tr_TR.CP125x, etc. etc.)
The problem is on the use of g_strdown() and that is what has to be fixed.
This problem should also be documented somewhere, as it is a very common
problem.
Thanks
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975
[you can write me in Walloon, Spanish, French, English, Italian or Portuguese]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]