From: wilhelm dot wichtig at gmx dot net
Operating system: Windows 2000 NT
PHP version: 5.2.6
PHP Bug Type: PHP-GTK related
Bug description: Codepage Error on Windows 2000
Description:
------------
I've installed PHP-GTK2.0.0 on two different Windows 2000 NT systems. One
system uses codepage 850 and everything works fine. On the other system
codepage 437 is installed and I adjusted the php-cli.ini to this codepage.
On the the Windows 2000 NT with codepage 437 the demo applications are not
working properly.
I tried the ComboBox-Selector (PHP-Gtk2-Demo). When I click on "Check
this" the program crashes.The demo also crashes, when I click on the
StockItemBrowserDemo in the main menu.
The codepage setting is right and I'm not using any keys to navigate.
Reproduce code:
---------------
see example code of demos from Windows binary pack -
http://gtk.php.net/download.phpActual result:
--------------
GtkComboBox
Warning: GtkComboBox::get_active_text(): could noct convert return value
from UTF-8 in C:\Program Files\PHP-Gtk2\demos\components\combobox.php:86
Stack trace:
#0 C:\Program Files\PHP-Gtk2\demos\components\comobox.php(86):
GtkComboBox->get_active_text()
#1 [internal function]: ComboBox->onClickedButton(Object(GtkButton),
Object(GtkComboBox))
#2 C:\Program Files\PHP-Gtk2\demos\components\comobox.php(344):
Gtk::main()
#3 (main) thrown in C:\Program Files\PHP-Gtk2\demos\components\comobox.php
on line 86
StockItemBrowserDemo
Warning: Could not conver item label from UTF-8 in C:\Program
Files\PHP-Gtk2\demos\components\stock-browser2.php on line 173
Fatal error: Uncaught exception 'PhpGtkGErrorException' with message
'Invalid byte sequence in conversion input' in C:\Program
Files\PHP-Gtk2\demos\components\stock-browser2.php:135
Stack trace:
#0 C:\Program
Files\PHP-Gtk2\demos\components\stock-browser2.php(135):Gtk::stock_lookup('gtk-about')
#1 C:\Program
Files\PHP-Gtk2\demos\components\stock-browser2.php(66):StockItemBrowserDemo->create_model()
#2 C:\Program
Files\PHP-Gtk2\demos\components\phpgtk2-demo.php(151):StockItemBrowserDemo->__create_box()
#3 [internal function]:
PHPGtk2Demo->demo_selected(Object(GtkTreeSelection))
#4 C:\Program Files\PHP-Gtk2\demos\components\phpgtk2-demo.php(344):
Gtk::main()
#5 (main) thrown in C:\Program
Files\PHP-Gtk2\demos\components\stock-browser2.php on line 135
--
Edit bug report at
http://bugs.php.net/?id=45020&edit=1--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=45020&r=trysnapshot52Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=45020&r=trysnapshot53Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=45020&r=trysnapshot60Fixed in CVS:
http://bugs.php.net/fix.php?id=45020&r=fixedcvsFixed in release:
http://bugs.php.net/fix.php?id=45020&r=alreadyfixedNeed backtrace:
http://bugs.php.net/fix.php?id=45020&r=needtraceNeed Reproduce Script:
http://bugs.php.net/fix.php?id=45020&r=needscriptTry newer version:
http://bugs.php.net/fix.php?id=45020&r=oldversionNot developer issue:
http://bugs.php.net/fix.php?id=45020&r=supportExpected behavior:
http://bugs.php.net/fix.php?id=45020&r=notwrongNot enough info:
http://bugs.php.net/fix.php?id=45020&r=notenoughinfoSubmitted twice:
http://bugs.php.net/fix.php?id=45020&r=submittedtwiceregister_globals:
http://bugs.php.net/fix.php?id=45020&r=globalsPHP 4 support discontinued:
http://bugs.php.net/fix.php?id=45020&r=php4Daylight Savings:
http://bugs.php.net/fix.php?id=45020&r=dstIIS Stability:
http://bugs.php.net/fix.php?id=45020&r=isapiInstall GNU Sed:
http://bugs.php.net/fix.php?id=45020&r=gnusedFloating point limitations:
http://bugs.php.net/fix.php?id=45020&r=floatNo Zend Extensions:
http://bugs.php.net/fix.php?id=45020&r=nozendMySQL Configuration Error:
http://bugs.php.net/fix.php?id=45020&r=mysqlcfg--
PHP-GTK Development Mailing List (
http://gtk.php.net/)
To unsubscribe, visit:
http://www.php.net/unsub.php