Conversion of file formats in wodpress topic files

Source: Internet
Author: User
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 have read that navigation. strip. php is an ANSI wodpress topic file, and the format of the file to be converted is incorrect.
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.