Re: stock-browser.php

From: Date: Sun, 12 Feb 2006 20:51:15 +0000
Subject: Re: stock-browser.php
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2403@lists.php.net to get a copy of this message
Should be fixed in CVS now. Basically, any functions that return strings to PHP should decode them from UTF-8 so stock_lookup() needed to be fixed. I'm sure we'll find others. -Andrei On Feb 9, 2006, at 7:45 PM, Pablo Dall'Oglio wrote:
Andrei, Thanks for the UTF8 patch, solves all my problems regarding accented characters in GtkTreeView's. The only problem that I saw now, it's about stock-browser.php sample. In the second column (label), the words are coming "over-econded" :-) (don't know if it's the right word). But, It seems that was applied utf8_encode twice... Take a look at: Gtk::stock_lookup($id); I know it's hard to figure out these things because english as no accented characters. But Gtk::STOCK_INFO that in brazilian portuguese is "Informação", in stock-browser.php is shown as "Informação". But it's the only place I've seen this problem. It doesn't happen when I use GtkButton::new_from_stock(). In this case, the name of the buttons (even the accented ones) are fine. Pablo --:: Pablo Dall'Oglio :: www.dalloglio.net --PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#2403) next »