Re: [gtk-list] locales deslocalized?



Antonio Campos <acampos@ceronet.com> writes: 
> #include <stdio.h>
> 
> void main()
> {
>   char c='Ñ';
> 
>   if (isalpha (c))
>     fprintf (stderr,"The character `%c' is alphabetic.\n", c);
> }
> 

Owen's the expert but I think you have to call setlocale() and in a
GTK program you have to call gtk_set_locale() (and in GNOME you do
nothing, gnome_init() contains gtk_set_locale()).

Havoc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]