#37009 [Opn->Csd]: I got wrong letter Å and å !

From: Date: Mon, 20 Aug 2007 10:46:12 +0000
Subject: #37009 [Opn->Csd]: I got wrong letter Å and å !
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969377750@lists.php.net to get a copy of this message
ID: 37009 Updated by: vrana@php.net Reported By: bengt at sm7jqb dot se -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: RedHat Linux 7.3 PHP Version: 4.4.1 New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding" Previous Comments: ------------------------------------------------------------------------ [2006-04-08 12:06:17] pajoye@php.net bengt: Use a truetype font Derick is right, it should be documented. ------------------------------------------------------------------------ [2006-04-08 12:00:21] bengt at sm7jqb dot se Hi, In Swedish we use these 3 extra letters ÅÄÖ and Å is missing :( ------------------------------------------------------------------------ [2006-04-08 11:59:10] derick@php.net This is not mentioned in the documentation, and another problem is that latin2 doesn't have the swedish characters. I think you can use UTF8 but that should be verified. ------------------------------------------------------------------------ [2006-04-08 10:56:24] pajoye@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You have to give latin2 (ISO-8859-2) strings or char. ------------------------------------------------------------------------ [2006-04-08 05:24:19] bengt at sm7jqb dot se My eample is here http://sm7jqb.se/PHP/test_sv_jpeg.php And the script, just taken from the book <?php $im = imagecreate(150, 30); $bg = imagecolorallocate($im, 250, 250, 250); $textcolor = imagecolorallocate($im, 0, 0, 0); // write the string at the top left imagestring($im, 5, 0, 0, "-Test-ÅÄÖ-åäö-", $textcolor); //My swedish letter Å-å goes wrong, just this letter only! // output the image header("Content-type: image/jpeg"); imagejpeg($im); ?> My webhotel run 4.4.1 byt I have same truble at home with 4.1. and it was the same problem with 4.0 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/37009 -- Edit this bug report at http://bugs.php.net/?id=37009&edit=1

« previous php.doc (#969377750) next »