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_^