| View previous topic :: View next topic |
| Author |
Message |
lirm
Joined: 16 Dec 2005 Posts: 6
|
Posted: Sun Dec 18, 2005 11:15 pm Post subject: Pango-WARNING |
|
|
I put
php-gtk.codepage = CP1253
in php.ini, to be able to use greek in my scripts but a problem remains. I get a warning:
(main.php:2692): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
when I use the append method with greek characters
GtkTreeStore->append($node, array('greek characters', 'xxx'));
and these characters don't show in the tree
Any idea?
Minas |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Mon Dec 19, 2005 8:34 am Post subject: Re: Pango-WARNING |
|
|
| lirm wrote: | | (main.php:2692): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() |
Minas, could you please subscribe to php-gtk-general@lists.php.net and send your problem to there? The real php-gtk developers are there and will probably know more about it.
See http://gtk.php.net/resources.php on how to subscribe. |
|
| Back to top |
|
 |
lirm
Joined: 16 Dec 2005 Posts: 6
|
Posted: Mon Dec 19, 2005 2:39 pm Post subject: |
|
|
Solved in php-gtk-general forum.
For those who are interested, the php.net function iconv() can be used like this:
iconv("ISO-8859-7", "UTF-8", "greek characters")
http://gr2.php.net/manual/en/function.iconv.php |
|
| Back to top |
|
 |
|