#24325 [NEW]: not support chinese chart

From: Date: Wed, 25 Jun 2003 03:48:43 +0000
Subject: #24325 [NEW]: not support chinese chart
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42462@lists.php.net to get a copy of this message
From: vwbox at sohu dot com Operating system: windows nt4 nt5 PHP version: 4.3.3RC1 PHP Bug Type: GD related Bug description: not support chinese chart 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 bug report at http://bugs.php.net/?id=24325&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24325&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24325&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24325&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24325&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24325&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24325&r=support Expected behavior: http://bugs.php.net/fix.php?id=24325&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24325&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24325&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24325&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24325&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24325&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24325&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24325&r=gnused

« previous php.bugs (#42462) next »