Garbled characters are displayed in Aptana.

Source: Internet
Author: User

Today, I downloaded Aptana radrails, build: 2.0.0.1256768894 from the Internet to learn web page technology. However, when I opened the HTML page with IE, I entered Chinese characters ), therefore, I am searching for solutions on the Internet. Although there are many posts about Aptana garbled characters, most of them are solutions that cannot display Chinese Characters in Aptana, but in the latest version, the Chinese version is fully supported on the interface, so the problem has not been solved for a long time.

The following solutions are available on the Internet:

Run Windows preferences. In the displayed preferences dialog box, select general workspace. On the workspace tab, select default (GBK) in the bottom [text file encoding. As shown in:

However, after the above modification, it is no problem to enter Chinese characters in the Aptana workspace, which can be well supported. However, when the file is saved and opened in a browser, garbled characters are displayed. After searching for a long time, I finally found the problem. The solution is as follows:

Run [windows] [Preferences]. In the [preferences Dialog Box] that appears, select [editors] [HTML]. On the [HTML] tab, set <meta http-equiv = "Content-Type" content = "text/html; charset =Iso-8859-1">

Change the iso-8859-1 to GBK, as shown in:

 

Now, save the HTML file and open it in a browser. Pai_^

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.