Re: Bug 24179
- From: Pablo Saratxaga <pablo mandrakesoft com>
- To: gnome-i18n gnome org
- Subject: Re: Bug 24179
- Date: Fri, 14 Jun 2002 16:42:34 +0200
Kaixo!
On Fri, Jun 14, 2002 at 05:04:21PM +0300, Ecmel Ercan wrote:
> Hi,
>
> > I don't know if such functions exist in "glib",
There is a "g_ascii_tolower()", and its defined as:
gchar
g_ascii_tolower (gchar c)
{
return g_ascii_isupper (c) ? c - 'A' + 'a' : c;
}
so, yes, there is a proper function to handle the problem.
> Should I forward this to gtk-18n list?
Yes, please.
So, the fix is to replace g_tolower() with g_ascii_tolower() each time
that the string is supposed to be locale-independent (all the handling of
internal stuff).
--
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]