#33812 [Opn->Bgs]: GD
| From: | tony2001@php.net | Date: | Fri, 22 Jul 2005 08:47:57 +0000 |
| Subject: | #33812 [Opn->Bgs]: GD | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82315@lists.php.net to get a copy of this message | ||
ID: 33812
Updated by: tony2001@php.net
Reported By: propheteia at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: Windows XP Pre
PHP Version: 5.0.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-07-22 03:04:45] propheteia at gmail dot com
Description:
------------
I am Chinese, I an apologize for my poor English first.
I can not navigate the image-created php file when I encode it as
UTF-8, but it work very well when it is encoded as ANSI. My text editor
are Dreamweaver and notepad, and my test it at platform Apache 2.00 and
PHP 5.0.3! See you later!
Reproduce code:
---------------
<?php
header("Content-type: image/png");
$img=imagecreate(50, 50);
$color_bg = imagecolorallocate($img, 0, 0, 0);
imagerectangle($img, 0, 0, 50, 50, $color_bg);
$color_text = imagecolorallocate($img, 00, 255, 255);
imagestring($img, 4, 0, 0, 'Hello', $color_text);
imagepng($img);
imagedestroy($img);
?>
Expected result:
----------------
see
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33812&edit=1