GBK encoding on console outputhttps://www.eclipse.org/forums/index.php/mv/msg/10715/33169/#msg_33169
Great tool! Good Job!!

Now I've encountered a problem that I would like to share with everyone
here.

I'm using a Chinese edition of Windows XP, service pack 3. Doing J2ME
development, I normally use the Sun WTK 2.5.2 for device emulation. In
order to get Chinese output on the console when running my application on
the WTK emulator, I need to set the "Run Configuration"->console encoding
to GBK. I'm also running a J2EE project in the same environment, as part
of my server side application.

To make a long story short, I must set my workspace text file encoding to
UTF-8 in order for things to work. All of my projects are also set to
UTF-8 encoding. However, the Run configuration setup does not give me the
GBK option for console encoding. This means that i will not be able to
get readable debug messages on the screen.

I did however, find a work around to this solution. if I set my workspace
to GBK (that the default), and my J2ME project to GBK, then the option for
GBK shows up in the "Run Configuration" for console output. I then
specificly select it ( don't use the "inherited" option), and go back to
my workspace and projects, set them back to UTF-8, then the console output
will stay at GBK.

This sounds like a bug to me. Eclipse should just make all the encodings
available to the user, shouldn't have to jump through hoops to get the
desired console encoding...

Cheers,

David]]>david chen2009-07-23T01:42:34-00:00Re: GBK encoding on console outputhttps://www.eclipse.org/forums/index.php/mv/msg/10715/33320/#msg_33320
The "common" page (The place that handles the console encoding) of the
"Emulated JavaME MIDlet" "Run Configuration" is inherited from the basic
"Run Configuration" on eclipse. This is not an issue with mtj itself but
probably with the platform team.

Regards,
Diego]]>Diego Madruga Sandin2009-07-23T21:21:47-00:00Re: GBK encoding on console outputhttps://www.eclipse.org/forums/index.php/mv/msg/10715/575337/#msg_575337
The "common" page (The place that handles the console encoding) of the
"Emulated JavaME MIDlet" "Run Configuration" is inherited from the basic
"Run Configuration" on eclipse. This is not an issue with mtj itself but
probably with the platform team.