About eclipse3.1.2 in Japanese display

xiaoxiao2021-03-31  208

It turned out to use Eclipse3.0, then the formulation of the Japanese is directly in the editors' text file encoding, but this method does not work in version 3.1.2, when you enter, display the SELECTED ENCODING IS Not Supported, OK button Gray, but in its drop-down list, there is no MS932 option, depressed is that I have found a few laps and I didn't find these multi-language, (if anyone know, don't forget to tell me).

After many experiments, it is found that the following methods can be set:

Open your project, first make a setting for your engineering language, where you are set, the purpose is to let Eclipse generate a setup file, turn off Eclipse. At this time, you will generate a .Settings under your project folder The folder, go in, there is a named org.eclipse.core.resource.prefs file, open it with Notepad. There is such a line:

ENCODING / = GBK

The back GBK is the language you just set, change this to you, as I change it to MS932. Save, reopen Eclipse, then you will see the language you want.

转载请注明原文地址:https://www.9cbs.com/read-130938.html

New Post(0)