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.
To Reproduce: 1. From [Filesystems] tab in [Explorer] window, execute for any webmodule (e.g. right click a jsp file in "CD Shop Cart", which is bundled in FFJ), and select [Execute]. 2. Messages are appeared in Output Window, but, japanese characters are appeared incorrect. 3. From Terminal, open the log file of tomcat (<FFJ_HOME>/tomcat401/logs/$hostname__log.YYYY-MM-DD.txt), japanese characters are appeared correctry.
Created attachment 4621 [details] screen shot 1: Japanese characters are appeared incorrect in Output Window.
Created attachment 4622 [details] screen shot 2: Japanese characters are appeared correctry in the terminal.
Not sure what is the reason - Tomcat, our plugin module or terminal emulation in IDE. Ales, can you look at this?
Probably duplicate of #18866 *** This issue has been marked as a duplicate of 18866 ***
Would you investigate this bug again? The problem of Output Window has been closed, but we still have this problem in build 020321. The log ($FORTE4J_HOME/tomcat401/*.log) files contain multibyte characters, because Tomcat includes localized resources. If Tomcat is executed in Japanese environment, the log files contain Japanese.
Do you mean that messages are corrupted when the IDE run with japanese locale and Tomcat write japanase chars to log?
Yes, you are right. The Tomcat writes Japanese to log file, and displayed messages are corrupted on Output Window. By selecting "View Context Log File", that Japanese log is displayed correctly in the editor window.
I guess the problem is in RandomAccessFile class at Tomcat40DataObject.java, because readLine() does not support encoding. Please use FileReader.read or other method which support encoding.
Fixed for Orion FCS. Thank you Keiichi for help.
I've verified the fixing in "FFJ, EE 4.0 EA (Build 020410_1)" Thank you very much !!! - Hiroshi
Consistent use of the I18N keyword.