[mtj 0.9.1+Eclipse 3.4.l+WTK 2.5.2]mtj console output garbage character [message #25996] |
Tue, 13 January 2009 20:43  |
Eclipse User |
|
|
|
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] |
Wed, 14 January 2009 19:54  |
Eclipse User |
|
|
|
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] |
Wed, 14 January 2009 19:54  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.06922 seconds