Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of Transcoding tool to realize the conversion between utf-8 and gbk in website Construction

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the website construction of coding transcoding tools to achieve utf-8 and gbk conversion methods, the content is very detailed, interested friends can refer to, hope to be helpful to you.

So the best way is to use the transcoding software directly. The software I use is convertz. It seems that this software has not been updated since it was developed N years ago, but it is quite easy to use.

This software is installation-free, double-click ConvertZ.exe, the program will be automatically hidden to the top of the desktop, open the file you need (click on the file plain text file conversion), as shown below

Select the folder where you want to convert the template in the source file, and the files ending with .htm, .html, .txt in the folder will appear in the view, and don't forget to set the directory to store your converted documents in the destination option. At this time, you may not have the conversion mode you need in the advanced options. For example, if I want to convert utf-8 to GBK, click the advanced options button and there will be the following options:

Just choose the format you want to import and output. Then hide the Advanced options button and add the files you need to convert to the file list.

OK, click to start the conversion, and the conversion will be done soon.

Note that when GBK templates are converted to utf-8, some punctuation cannot be converted, and these GBK-coded punctuation cannot be displayed on foreigners' computers. So some files need to replace something that cannot be converted in bulk. Similarly, the uft-8 template used by Chinese websites is not pure utf-8, so don't forget which punctuation and symbols need to be modified if you want to translate them into English templates.

On the website construction of coding transcoding tools to achieve utf-8 and gbk conversion methods to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report