Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Chinese character display help(display Chinese chars in Eclipse console )
Chinese character display help [message #673264] Mon, 23 May 2011 04:14 Go to next message
Eclipse User is currently offline Eclipse UserFriend
Messages: 1
Registered: May 2011
Junior Member

I enabled UTF-8 encoding in run configuration,

and I also downloaded language pack and unzipped it into the eclipse root folder.

but the Chinese chars were still displayed as question marks like "????" when compile/run.

How do I do it.

I am a beginner.
Thanks for help
Re: Chinese character display help [message #673410 is a reply to message #673264] Mon, 23 May 2011 14:32 Go to previous message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
It is a matter of choosing the right font.

Under Windows, this font works for me with all international characters:

widget.setFont(new Font(null, "Arial Unicode MS", 9, 0));

Hope that helps.

Previous Topic:Resize listeners
Next Topic:Command contributions
Goto Forum:

Current Time: Sat Apr 21 17:43:52 GMT 2018

Powered by FUDForum. Page generated in 0.02104 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software