In the wodpress topic file, it is quite useful to download a set of English themes due to the format conversion problem. In the navigation bar, "Back to homepage" and "classified browsing" are in English, so the & nbsp; navigation. strip. php file in the & nbsp; topic file is modified to replace English with Chinese. Then garbled. I checked that navigation. strip. php is an ANSI encoding format. after being changed to UTF-8, the garbled problem is solved. Conversion file format in wodpress topic files
I downloaded an English topic and thought it was quite useful.
In the navigation bar, "Back to homepage" and "classified browsing" are in English. Therefore, the navigation. strip. php file in the topic file is modified to replace English with Chinese. Then garbled.
I checked that navigation. strip. php is an ANSI encoding format. after being changed to UTF-8, the garbled problem is solved.
Q: The encoding format of all theme files is ANSI. I changed navigation. strip. php to solve the garbled text separately to UTF-8, which has no negative impact on the entire system?
------ Solution --------------------
ANSI
Abbr. American National Standards Institute
United States standardization organization
General national standards in computers
For character sets, ANSI is GBK in simplified Chinese windows, and ANSI is UTF-8 in Chinese linux.
If you want to use a Korean operating system, I don't know what the ANSI character set is.
What encoding is used in the website depends on the object of your service
If you want to show Chinese materials to Americans, even if it is UTF-8 encoded, few people can understand it.
------ Solution --------------------
Of course there is no impact
------ Solution --------------------
Wp should be used with caution. please refer to the relevant documents.
Wp also has many plug-ins. if this encoding variable is also called by other plug-ins in php, it may be very troublesome.