Today, I was a little too low! After the conversion was successful, I could not see the characters, so I thought there was something wrong with the usage. When I checked the source file, I found that there were garbled characters in
and , causing the label to become:
Ranqigutu?/title> ;, and all the content after was pulled into . I was still shouting in the group for a long time. I found out that this was the problem, and I was so angry! ! !
Use ICONV function:
iconv( "UTF-8", "gb2312" , "abc sunshine 123");
It is said that this is better and you can ignore the errors during conversion!
iconv( "UTF-8", "gb2312//IGNORE" , "abc sunshine 123");
http://www.bkjia.com/PHPjc/317577.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317577.htmlTechArticleToday, I am too low! After the conversion was successful, I couldn’t see the characters, so I thought there was something wrong with the usage. When I checked the source file, it turned out to be garbled characters in title and /title, causing the label to become: title garbled...
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