The PHP function utf8 is converted to gb2312 encoding. Today, I am too low! If the conversion is successful, you cannot see the characters. if you think there is a problem with the usage, you can view the source file. the garbled characters in the title and title cause the tag to become: the title is messy. today, I am too low! If the conversion is successful, you cannot see the characters. if there is a problem in usage, check the source file. AndThe tag becomes: Are you confused? /Title>, All content is pulled And shouted for a long time in the group. I found this problem and got angry !!!
Use the ICONV function:
Iconv ("UTF-8", "gb2312", "abc Sunshine 123 ");
It is said that this is better, you can ignore the conversion error!
Iconv ("UTF-8", "gb2312 // IGNORE", "abc Sunshine 123 ");
Success! If the conversion is successful, you cannot see the characters. if you think there is a problem with the usage, you can view the source file. the garbled characters in the title and/title cause the tag to become: the title is messy...