[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: japanese support on eclipse CDT

On 2009/04/13 16:28, Srinivas V T wrote:
I have imported my code into my workspace which have japanese characters in them. The japanese characters show up as Ascii equivalents on the editor. what settings/plugins are required to make them japanese ?

OS : Linux Centos 5.x
ECLIPSE CDT : Version: 3.4.1.

These are the project properties that I have set for the resources : Text file encoding : Inherited from container(UTF-8)

Hi,

I don't actually know THE answer to your problem, but I don't have any problem with Japanese in 3.4.0 on Debian. I have no special plugins installed.

Maybe make sure your OS has Japanese support enabled (check output of "locale -a") and that the LANG environment variable is set to ja_JP.utf8 (export LANG=ja_JP.utf8) before you start Eclipse. Of course you also need Japanese fonts installed.

You may also want to double check the encoding on each file by right click the file name in "Explorer" and look at "properties". Sometimes, if Eclipse thinks the encoding is different from your default, it will override your default. (In my case Eclipse often sets the encoding as Shift_JIS even if that's wrong).

Hope that helps.
Ed