Why?-Aptana does not support Chinese GBK encoding.

Source: Internet
Author: User
ArticleDirectory
    • Enable Aptana to support Chinese Characters

Most of Sohu's web pages are GBK-encoded (it is said that the same is true for Sina). The newly installed aptan studio will report the GBK or gb2312-encoded documentCharacter encoding GBK is not supported by this platformThe error. Why?

Enable Aptana to support Chinese Characters

Article category:Web Front-endKeywords: Software

Many methods on the Internet: Aptana Studio supports Chinese: in the Windows menu → preferences → General → content types, select text, specify the default encoding as GBK at the bottom, so that we can, but I tried it, but it still does not support Chinese. When you open a page encoded with GBK, the Unsupported encoding ......
So how can we make Aptana truly support Chinese? We all know that Aptana Studio and eclipse have very similar interfaces, which may be basically the same. Why do we support Chinese GBK encoding in eclipse 3. X while Aptana does not? As we all know, the JRE in ecplise has a package that supports multiple languages. Aptana does not support Chinese GBK encoding. It must have not been included in Aptana. Therefore, I use a comparison tool, comparing Aptana and ecplise (the JRE used), we found that there is a charsets package in JRE. jar, copy the package to the JRE/lib directory of Aptana. After starting Aptana, the result will no longer prompt that GBK encoding is not supported.
To enable Aptana to support Chinese, we should do two things: add the multi-country Language Pack (charsets. Jar) to the lib directory of Aptana's JRE; and set the text encoding.

Http://dl.javaeye.com/topics/download/902d34b0-62b0-3299-ba30-12df6f3ec4f9

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.