How can I convert GBK website source code to UTF8? I'm talking about the source code of the entire website.
Source: Internet
Author: User
How can I convert GBK website source code to UTF8? I am talking about the source code of the entire website. who knows ????????????????? , Ghost how to convert GBK website source code to UTF8? I am talking about the source code of the entire website.
Who knows ????????????????? ,
------ Solution --------------------
Http://www.onlinedown.net/soft/59021.htm
Download this tool here to convert all the source code files in a directory into the character set you need.
In addition, if the character set of the web page source code changes, the character set of the database must be adjusted accordingly to avoid garbled characters.
For example, if the database is GBK, you should export all the data, convert the data file into the desired character set, design the database framework (note the character set), and then import the data.
After the character set is changed, the header output information of the web page should also be changed. the charset parameter should be adjusted accordingly to avoid garbled characters.
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.