#29440 [Opn->Csd]: Don't display any text

[email protected]
Newsgroups php.gtk.dev
Message-ID <[email protected]>
 ID:               29440
 Updated by:       [email protected]
 Reported By:      ricardo at kernel dot com dot ar
-Status:           Open
+Status:           Closed
 Bug Type:         PHP-GTK related
 Operating System: Windows 98
 PHP Version:      1.0.0  (PHP-GTK)
 New Comment:

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 http://www.php.net/downloads.php

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.


Previous Comments:
------------------------------------------------------------------------

[2004-07-29 05:48:53] ricardo at kernel dot com dot ar

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 this bug report at http://bugs.php.net/?id=29440&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.