Home >Backend Development >PHP Tutorial >PHP character encoding conversion tool

PHP character encoding conversion tool

高洛峰
高洛峰Original
2016-12-02 10:18:491071browse

I saw Mr. qiushuiwuhen’s article about the conversion of gbk, unicode, and big5 a while ago
But there were some minor problems
So I designed a class responsible for character conversion, corrected some of the shortcomings, and added For some functions, I will continue to expand this class in the future to support more character sets. The following points have been added:
unicode->gbk symbol part conversion
Euro symbol

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn