#24325 [Opn->Bgs]: not support chinese chart
| From: | sniper@php.net | Date: | Wed, 25 Jun 2003 12:12:15 +0000 |
| Subject: | #24325 [Opn->Bgs]: not support chinese chart | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42482@lists.php.net to get a copy of this message | ||
ID: 24325
Updated by: sniper@php.net
Reported By: vwbox at sohu dot com
-Status: Open
+Status: Bogus
Bug Type: GD related
Operating System: windows nt4 nt5
PHP Version: 4.3.3RC1
New Comment:
If freetype doesn't support some charset, what can we do?
Not PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2003-06-24 22:48:43] vwbox at sohu dot com
Description:
------------
ÎÒÃÇʹÓõÄ×Ö·û±àÂëÊÇGB2312»òÕßGB18030£¬µ«ÊÇÓÃGD¿âº¯ÊýÈ´²»ÄÜÖ±½ÓʹÓᣱÈÈ磺ImageTTFText($im,
$s, 0, 1, 1, $black,$fontname, "PHPºÜcool!");
µÃµ½µÄ½á¹ûÊǶªÊ§ºº×Ö"ºÜ".
ËäÈ»Õâ¸öÎÊÌâÒѾÓнâ¾ö°ì·¨£¬¾ÍÊÇ×Ô¼ºÐ´Ò»¸öÓÉgb18030±àÂëתΪUTF-8µÄº¯ÊýÀ´ÊµÏÖת»»£¬µ«ÊǺÜÃ÷ÏԵأ¬ÕâÖÖ×ö·¨Ð§Âʺܵ͡£
ÄÜÈÃGD¿âÖ±½ÓÖ§³ÖGB18030»òÕßGB2312±ê×¼Âð?лл¡£
---------------------------------------------------------
We are using GB2312 OR GB18030 charset in our program and OS. But the
GD library not support them directly. For example :ImageTTFText($im,
$s, 0, 1, 1, $black,$fontname, "PHPºÜcool!"); We cannot got the correct
result,then lost the Chinese charact "ºÜ".
Although we fond a way to use GD lib get correct result by a function
of change gb18030 to UTF-8, But this is not a good idea to accept for
it's slowly speed.
Could you let GD lib support GB19030 or GB2312 stand? Please and 3X!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24325&edit=1