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.
Product Version = NetBeans IDE 6.9.1 (Build 201011082200) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_22 Runtime = Java HotSpot(TM) Client VM 17.1-b03 In IRB Japanese is displayed normaly. But, it is garbled in the output window.
Can you please assure that you have set the correct encoding? The encoding is visible in <Userdir>\var\log\messages.log You can change the encoding by -J-Dfile.encoding=<...> option. What do you mean by IRB? Are Japanese characters displayed correctly in editor?
Thank you Mr. Martin for your comments. I found that the output window of japanese version of NetBeans uses the Sift-JIS encoding. And my project's encoding is UTF-8. So, this mismatch caused this trouble. I fixed this trouble by changing the project encoding to Shift-JIS. Could you tell me whether NetBeans can change the character encoding for the output window ? If it can do so, I could write code in my favorite encoding, and I'll be happy. IRB is the Interactive Ruby shell, you can open it by right-clicking a Ruby project node and choosing Ruby Shell(IRB). In IRB code input and output are in the same environment, so encoding problem does not exist. Thank you again.
The output window should use the default platform encoding AFAIK. If you need UTF-8, try to run NetBeans with -J-Dfile.encoding=UTF-8 switch, this should switch whole NetBeans, including Output Window int UTF-8 encoding.
Thank you Martin. My problem was resolved. Some combinations of japanese character were garbled in Shift-JIS encoding. But UTF-8 encoding does not cause that problem.