This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | I can not see Chinese word in output windows! | ||
---|---|---|---|
Product: | platform | Reporter: | evzhy <evzhy> |
Component: | Output Window | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | Keywords: | I18N |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | successful chinese text in output window screenshot |
Description
evzhy
2005-07-21 05:22:51 UTC
Reassigned to module "core/output". what version for netbeans are you using? are you a module developer using netbeans APIs to write to output, or is it in your application that writes to the standard output? what operating system? from email conversation: Hello, I use netbeans 4.1 + mobility pack 7 + wtk2.2. Yes, I use System.out.println("你好!"); but the result is ?? ?? not the chinese word in output windows. And the same problem occurs in swing browser, if there is chinese words in html page shown. I can not solve this by add -J-Dfile.encoding-utf-8 to netbeans.conf It actually works. All you have to do is set the encoding for the project as well. To do it, get project properties dialog (right-click on project node) in the dialog, change to the "Run" panel, it has a text field named "VM Options". write the -Dfile.encoding=UTF-8 switch there. Now it should start working, in the output window and in the console as well. sorry for late resolution. attaching the screenshot. Created attachment 27194 [details]
successful chinese text in output window screenshot
|