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 User
Messages: 1
Registered: May 2011
Junior Member
Hi,

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érez
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.

David
Previous Topic:disable/enable plugins in a workspace
Next Topic:Command contributions
Goto Forum:
  


Current Time: Wed Oct 01 22:20:31 GMT 2014

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

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