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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 07:01:34 2024 UTC