Re: Anyone out there with time to run this on Unix?

From: Date: Tue, 19 Feb 2002 16:54:54 +0000
Subject: Re: Anyone out there with time to run this on Unix?
References: 1 2 3 4  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1281@lists.php.net to get a copy of this message
Many thanks, Mirek. This isn't a PHP issue, it's a mbstowchars conversion failure in GDK, and I would expect (but can't prove yet) that there are no problems for ISO8859-2 on Unix systems. (Wide characters are only used in win32.) If there are no problems in GtkCalendar, there should be no problems anywhere else either. I can't test the following under Window for ISO8859-2: $window->set_title('Will Czech text display here?'); //(should work) $text->insert_text('Will Czech text display here?', 0); //(should fail) $text->insert(null, null, null, 'Will Czech text display here?'); //(should work) $label = &new GtkLabel('Will Czech text display here?'); //(should work) - and I am still waiting for a response from anyone working with UTF-8 language encodings on either *nix or win32, can anyone help? ----- Original Message ----- From: "Mirek Novak" <mirek.novak@auto.cz> To: "Steph" <steph.fox@btinternet.com> Sent: Tuesday, February 19, 2002 11:36 AM Subject: Re: [PHP-GTK] Anyone out there with time to run this? Hi, on Win2K Server ISO8859-2 (or Win-1250?) in czech lang. I've got this error on console <LIST> Gdk-WARNING **: gdk_text_extents: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_draw_text: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_text_extents: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_draw_text: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_text_extents: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_draw_text: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_text_extents: gdk_nmbstowchar_ts failed Gdk-WARNING **: gdk_draw_text: gdk_nmbstowchar_ts failed </LIST> repeatedly after every change of month. Every word with special character in wasn't displayed, both months and days. I can send screenshot, if u want ... php -v = 4.0.8-dev HTH, Mirek ---- Steph wrote: >Merci bien :) > >So in ISO8859-1 encoding special characters are good on *nix and mess up on win32. > >Anyone out there able to run 'the calendar test' with ISO8859-2 or UTF-8 language >encoding on their system, please? > >----- Original Message ----- >From: "Aide Florent" <faide@alphacent.com> >To: "Steph" <steph.fox@btinternet.com>; "PHP-GTK gen" ><php-gtk-general@lists.php.net> >Sent: Tuesday, February 19, 2002 8:46 AM >Subject: Re: [PHP-GTK] Anyone out there with time to run this? > > >Hi Steph, > >I am French too, and on Slackware Linux 8.0 with french locale (php 4.1.1 >php-gtk 0.5) >I works really well. ;) > >Cheers. > >Aide Florent >Alpha Centauri. > >Le Lundi 18 Février 2002 15:50, Steph a écrit : > >>All I know at present is it works fine with English on win32. Any other >>locale/box combination, I'd really love to know what the month and day >>names look like. Please. :) >> >><? >>dl("php_gtk." . (strstr(PHP_OS, "WIN") ? "dll" : >>"so")); >> >>$window = &new GtkWindow(); >>$window->set_position(GTK_WIN_POS_CENTER); >>$window->connect_object("destroy", array("gtk", >>"main_quit")); >> >>$calendar = &new GtkCalendar(); >>$window->add($calendar); >> >>$window->show_all(); >> >>gtk::main(); >>?> >> >

« previous php.gtk.general (#1281) next »