Re: Once again after half of year,

From: Date: Mon, 23 Sep 2002 20:46:05 +0000
Subject: Re: Once again after half of year,
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2466@lists.php.net to get a copy of this message
Hi Nikolajus - you're on win32 if I remember correctly? GTK+ in win32 uses utf8 so it really should be down to your system locale for such things as GtkLabel at least (because Frank went through what was reachable and made conversion to utf8 part of win32 PHP-GTK some months back, following your previous set of mails). I could understand problems with complex widgets more easily, it should now be the case that you simply enter text in whatever charset you have locally and that should work. Can you send in a short sample of something that doesn't work with version 0.5.1, please, and also name the font in GdkFont terms? (use GtkFontSelectionDialog to get that description). NB you will need to make it a .txt file to get it to the list. cheers - Steph ----- Original Message ----- From: "Nikolajus Krauklis" <nikolajus@avc.lt> To: <php-gtk-general@lists.php.net> Sent: Monday, September 23, 2002 3:24 PM Subject: [PHP-GTK] Once again after half of year, > Hi everyone on this list, > > after half of year, i remember my problem with Lithuanian charsets > in php-gtk applications. Someone tell me that i should to > use utf encoded chars, but i spent a lot of time on this problem > and can't resolve it. > > for example: > > $button = &new GtkButton("This is label"); > works fine. > > $button = &new GtkButton("Čia yra užrašas"); > // just put lithuanian cp1257 into string > an error. Label empty after running > > $button = &new GtkButton("\x01\x17"); > an error. This character not displayed, > but in label displayed two unknown box'es. > > > the question, is it possible to use baltic > charsets in php-gtk application > > ---------------------------------------- > Nikolajus Krauklis > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.gtk.general (#2466) next »