[PHP] Sending different languages to GD

2005-09-06 Thread Graham Anderson
How can I get Polish , iso-8859-2, text, to output properly ? PHP is reading the accent characters as blocks I tried this, but it did not work... // Set up text for a 'Polish' button $text = rozwiązania; $text = mb_convert_encoding($text, iso-8859-2,Auto); // Composit the text over a button

[PHP] Sending different languages to GD

2005-09-06 Thread Graham Anderson
How can I get Polish , iso-8859-2, text, to output properly ? PHP is reading the accent characters as blocks I tried this, but it did not work... // Set up text for a 'Polish' button $text = rozwiązania; $text = mb_convert_encoding($text, iso-8859-2,Auto); // Composit the text over a button

Re: [PHP] Sending different languages to GD [apologize for resend]

2005-09-06 Thread Graham Anderson
sorry about that -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sending different languages to GD

2005-09-06 Thread Chris
Note: I haven't actually ever tried to put non-latin character s in an image, but I think this is the proper thing to do. First of all, I believe imagettftext() accepts string in the UTF-8 encoding. SO, the first thing to try would be to convert to UTF-8l mb_convert_encoding($text,

Re: [PHP] Sending different languages to GD

2005-09-06 Thread Graham Anderson
Now, I think it is a text editor problem.. My text editor, BBedit, is set to utf8 encoding . When I set encoding to utf-8, php outputs a blank screen... If I set BBedit to Unix with Mac-Roman encoding, the php script executes but screws up the Polish language Regardless, the php script