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: | I18N - Japanese characters are appeared incorrect in Output Window. | ||
---|---|---|---|
Product: | serverplugins | Reporter: | hiroshiy <hiroshiy> |
Component: | Tomcat | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | akemr, jf4jbug, keiichio |
Priority: | P2 | Keywords: | I18N |
Version: | -FFJ- | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
screen shot 1: Japanese characters are appeared incorrect in Output Window.
screen shot 2: Japanese characters are appeared correctry in the terminal. |
Description
hiroshiy
2002-02-08 11:26:58 UTC
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. |