#29440 [NEW]: Don´t display any text

From: Date: Thu, 29 Jul 2004 03:48:54 +0000
Subject: #29440 [NEW]: Don´t display any text
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-647@lists.php.net to get a copy of this message
From: ricardo at kernel dot com dot ar Operating system: Windows 98 PHP version: Irrelevant PHP Bug Type: PHP-GTK related Bug description: Don´t display any text Description: ------------ This error is reported when i try execute a script that print some kind of text (GtkLabel, GtkButton, etc). The script run correctly, but without texts. The message: (hello.php-gtk:4294627475): GLib-CRITICAL **: file gconvert.c: line 500 (g_convert): assertion `from_codeset != NULL' failed I set in my php.ini this line: php-gtk.codepage = CP1252 but still don´t work. Reproduce code: --------------- <?php if (!extension_loaded('gtk')) { dl( 'php_gtk.' . PHP_SHLIB_SUFFIX); } $window = &new GtkWindow(); $window->set_border_width(10); $button = &new GtkButton('Hello World!'); $window->add($button); $window->show_all(); Gtk::main(); ?> Expected result: ---------------- A window with button saying "Hello Word!". Actual result: -------------- A window with empty button and a the message: (hello.php-gtk:4294627475): GLib-CRITICAL **: file gconvert.c: line 500 (g_convert): assertion `from_codeset != NULL' failed -- Edit bug report at http://bugs.php.net/?id=29440&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29440&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29440&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29440&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29440&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29440&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29440&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29440&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29440&r=support Expected behavior: http://bugs.php.net/fix.php?id=29440&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29440&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29440&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29440&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29440&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29440&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29440&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29440&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29440&r=float

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