Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Mobile Tools for Java (MTJ) » [mtj 0.9.1+Eclipse 3.4.l+WTK 2.5.2]mtj console output garbage character
[mtj 0.9.1+Eclipse 3.4.l+WTK 2.5.2]mtj console output garbage character [message #25996] Wed, 14 January 2009 01:43 Go to next message
ryan_hust is currently offline ryan_hustFriend
Messages: 6
Registered: July 2009
Junior Member
Hi, guys:

now,I'm using mtj 0.9.1+Eclipse 3.4.l+WTK 2.5.2 . but when i run a mtj
project. the output console can not display the Chinese characters right
way.

the out put is :

ͨ›¥ C:\Documents and
Settings\ryan\j2mewtk\2.5.2\appdb\DefaultColorPhone 
Running with locale: Chinese_People's Republic of China.936
Running in the identified_third_party security domain

if I use the System.out.print to print the debug information , the Chinese
characters also is garbage character.


when i use eclipseme + eclipse 3.3 + wtk 2.5.2 , all things is right:

ÕýÔÚÍš¹ýŽæŽ¢žù C:\Documents and
Settings\ryan\j2mewtk\2.5.2\appdb\DefaultColorPhone ÀŽÔËÐÐ
Running with locale: Chinese_People's Republic of China.936
Running in the identified_third_party security domain

any help! thanks!
Re: [mtj 0.9.1+Eclipse 3.4.l+WTK 2.5.2]mtj console output garbage character [message #26118 is a reply to message #25996] Thu, 15 January 2009 00:54 Go to previous message
ryan_hust is currently offline ryan_hustFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,again,
I found when I set the eclipse text file encoding to the default[GBK](in
the Preferences -> General -> Workspace setting page.), In my project, I'm
using the UTF-8 file encoding, then the MTJ console can not output the
Chinese character rightly, I guess the MTJ using the platform default
encoding format[in Chinese it's GBK]to output the info, but when i change
the eclipse encoding setup. the MTJ do not change the settings. Is that
right? how to make this right in other[not GBK] encoding format?
Re: [mtj 0.9.1+Eclipse 3.4.l+WTK 2.5.2]mtj console output garbage character [message #570858 is a reply to message #25996] Thu, 15 January 2009 00:54 Go to previous message
ryan_hust is currently offline ryan_hustFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,again,
I found when I set the eclipse text file encoding to the default[GBK](in
the Preferences -> General -> Workspace setting page.), In my project, I'm
using the UTF-8 file encoding, then the MTJ console can not output the
Chinese character rightly, I guess the MTJ using the platform default
encoding format[in Chinese it's GBK]to output the info, but when i change
the eclipse encoding setup. the MTJ do not change the settings. Is that
right? how to make this right in other[not GBK] encoding format?
Previous Topic:MMAPI: Moto Q8 emulator fails
Next Topic:Debugging a Midlet [caution MTJ noob inside]
Goto Forum:
  


Current Time: Sun Nov 23 03:50:13 GMT 2014

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

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