php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24325 not support chinese chart
Submitted: 2003-06-24 22:48 UTC Modified: 2003-06-25 07:12 UTC
From: vwbox at sohu dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.3RC1 OS: windows nt4 nt5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vwbox at sohu dot com
New email:
PHP Version: OS:

 

 [2003-06-24 22:48 UTC] 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!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-25 07:12 UTC] sniper@php.net
If freetype doesn't support some charset, what can we do?
Not PHP bug.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 08 05:00:01 2025 UTC