How to convert gbk encoding to utf8 format. Apache character set GB2312mysql character set GBK is now from mysql information (GBK) written to XML in XML encoding format is UTF-8 so, how to encode GBK into UTF8 ?? Apache character set GB 2312
Mysql character set GBK
I want to write the information (GBK) from mysql to XML.
The encoding format in XML is UTF-8
So how can we encode GBK into UTF8 ??
Details:
I saw qiushuiwuhen Jun's article about gbk, unicode, and big5 conversion.
However, there are some minor problems.
So I designed a class responsible for character conversion, corrected some of the shortcomings, and added some features. in the future, I will continue to expand this class to support more character sets.
The following points are added:
Unicode-> gbk symbol part conversion
Euro sign (
Http://www.bkjia.com/PHPjc/445257.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445257.htmlTechArticleapache character set GB 2312 mysql character set GBK is now coming from mysql to write information (GBK) into XML the encoding format in XML is UTF-8 so how to encode GBK into UTF8 ?? Details...