function | Chinese thanks sadly wrote the function of outputting Chinese characters in GD,
I found in the use of this version of the output string must be pure Chinese, can not be mixed in English.
With the modification of this bug, share with you ...
?
Program writen by sadly www.phpx.com
Modified by Agun 2000/6/20
function Gb2utf8 ($GB)
{
if (!trim ($GB))
return $GB;
$filename = "Gb2312.txt";
$tmp =file ($filename);
$codetable =array ();
while (list ($key, $value) =each ($tmp))
$codetable [Hexdec (substr ($value, 0,6))]=substr ($value, 7,6);
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.