Arbitrary modification of the site encoding format (utf-8~gb2312) instantaneous completion

Source: Internet
Author: User
Tags add format modify
We build station friends often need different coding format, a bit need gbk, and some need UTF-8 format. In fact, the conversion between the encoding is very simple. Next I introduce my method, then everyone will not have to wait for the official out of the program on their own conversion will be done. Instant finish!


First we need two tools:

1. Say Tower file code converter

Sky Download: http://www.skycn.com/soft/48790.html

Zhongguancun Off-line: http://xiazai.zol.com.cn/detail/33/329745.shtml

2.Search and Replace

Sky Download: http://www.skycn.com/soft/3668.html

Here's how to start:

1. Open said tower file encoding converter to modify your settings, it is recommended to use automatic encoding recognition.



2. Add the program directory, import all the files that will be converted, and then "perform the conversion" to finish!

3. Open search and replace to add the program directory, select the Searching subdirectory option, select whole Word matching, modify file filter options.

If you want to UTF-8 to GB2312, then fill in the search content "Charset=utf-8", replace the content fill "charset=gb2312".

Then click the Replace button.


All right, that's it. Simple, huh? Haha, support on the top of a ha!



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.