HTML Editor Converter

Source: Internet
Author: User
Sometimes you need to convert your own HTML encoding, then this article will teach you how to convert HTML encoding several ways.

The URF-8 encoding of common HTML encoding is converted to gb2312 encoding or gb2312 conversion to UTF-8 encoding fast conversion settings, which describes the Quick Conversion Conversion Setup tutorial using DW software.

HTML conversion can not be opened directly through Notepad after manual modification of the code in the letter is considered to complete the encoding conversion modification, so that the direct modification of the consequences can easily cause the modified Web page in the browser to open the HTML garbled situation (how to open the HTML file).

If your HTML code is utf-8 if you want to modify the encoding for gb2312 this time, you directly open the HTML file with Notepad, directly to the Utf-8 modified to gb2312, this method is wrong will cause HTML page garbled.

As with the CSS encoding conversion, the conversion encoding needs to be done in the software, it is recommended to use DW software to encode the conversion with DW software.

Next, we introduce the encoding conversion method.

First, if an HTML page is utf-8 encoded, the code is as follows:

<! DOCTYPE "> 

The original HTML page is encoded as Utf-8

The original HTML page is encoded as Utf-8

This time to convert to GB2312 encoding, also can not directly manually modify the number of letters to consider the completion of the conversion, we need to use the DW Software encoding conversion tool for conversion.

First step: Click on the DW Software "modify (M)" To expand and click on "Page properties (p)"

Second step: Pop Up the "Page Properties" tab to find and click on select "Title/Encoding"

Step three: Right-hand Select "Encoding" type

Fourth step: After selecting a good encoding type, click "OK" to complete the encoding conversion

Summary: HTML page encoding conversion conversion can not be directly manually using Notepad or directly in the software to manually modify the coded letters and numbers, but to use the Software conversion tool to implement the HTML encoding settings conversion to really realize the conversion to reduce the Web page garbled possible, It is also possible to implement the conversion of other encodings using the tutorial methods above. You might as well follow the tutorials above to learn how to use the DW software to convert HTML speech coding.

The way to convert HTML encoding is these, more exciting please pay attention to the PHP Chinese network other related articles!

Related reading:

How to use HTML5 <footer> tag elements

How to use HTML

How to use White-space in HTML

Related Article

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.