|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29440 Don't display any text
Submitted: 2004-07-29 05:48 UTC Modified: 2008-03-07 02:11 UTC
Avg. Score:4.2 ± 1.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: ricardo at kernel dot com dot ar Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 1.0.0 (PHP-GTK) OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ricardo at kernel dot com dot ar
New email:
PHP Version: OS:


 [2004-07-29 05:48 UTC] ricardo at kernel dot com dot ar
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:
if (!extension_loaded('gtk')) {
	dl( 'php_gtk.' . PHP_SHLIB_SUFFIX);

$window = &new GtkWindow();

$button = &new GtkButton('Hello World!');



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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-07 02:11 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP-GTK2 solves many issues with GTK on windows.  Try a PHP5 and PHP-GTK2.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 18:01:29 2024 UTC