Re: FW: [PHP-GTK] Unicode with php-gtk

From: Date: Thu, 30 Sep 2004 21:02:46 +0000
Subject: Re: FW: [PHP-GTK] Unicode with php-gtk
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5122@lists.php.net to get a copy of this message
On Windows there should not be a problem with unicode as long as you specify php-gtk.codepage in php.ini. teh default value is CP1252. If you then use an ANSI editor (not an old dos editor that use codpages XXX) you can copy and past all you want. If you are having problems with this, it might be a bug in the implementation of the convertion from ANSI to UTF-8. - Frank > I've had problems with copy/paste from MS-Word to a PHP-GTK app on Windows, > specifically copy/paste into GtkScintilla. > > Is this where I can find a solution to this problem? > > -Ben > > On Tuesday 28 September 2004 02:17, Sjoerd Linders wrote: > > > > Hi all, > > > > PHP-GTK is internaly using the UTF-8 standard, NOT ASCII !!! > > What does this mean?, would probebly be your next question. Well: you can > > use only the first 128 ASCII characters directly, the rest of the unicode > > characters MUST follow the UTF-8 standard. I attached a complete document > > which where I learned UTF-8 with. OKKK: There is one other problem you can > > and will encounter, if you do everything correctly in UTF-8, it is possible > > that you DON'T see the unicode characters! This is because you will have to > > use a font WHICH supports the UNICODE characters. > > For more information about UTF-8 see: > > http://www.cl.cam.ac.uk/~mgk25/unicode.html > > > > Good luck, > > Sjoerd Linders > > > > > > > > Sander wrote: > > Lo all, > > > > I have some problems using Unicode chars on php-gtk, it segfaults when using > > characters like ë of ï and so on.. > > Anybody knows a reason why this is happening??? > > Thx, in advance, > > > > -- > > > > With kind regards, > > > > Sander Aerts > > > > -- > > PHP-GTK General Mailing List (http://gtk.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > "I kept looking around for somebody to solve the problem. > Then I realized I am somebody" > -Anonymous > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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