You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/04 03:41:19 UTC

DO NOT REPLY [Bug 18680] New: - On Japanese OS, corruption of japanese text.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18680>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18680

On Japanese OS, corruption of japanese text.

           Summary: On Japanese OS, corruption of japanese text.
           Product: Tomcat 4
           Version: 4.1.12
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sushilvj@hotmail.com


Hi,

While deploying a web app containing Static and Dynamic Japanese data, I found 
that the japanese data fetched from database is not displayed correctly.

After drilling down I came to know its a encoding related issue.
Hence accordingly I made following changes in the listed components.

Changed Jar --- jakarta-tomcat-4.1.12\common\lib\jasper-compiler.jar
--------------------------------------------------------------------------------
1. Class file  --- Validator.java
   Changes     --- validate()
               --- I changed the charset encoding to SHIFT_JIS 
                   instead of ISO8859-1

2. Class file  --- ParserController.java
   Changes     --- figureOutJspDocument()
               --- I changed the newEncoding value to SHIFT_JIS 
                   instead of ISO8859-1 

Its working fine for both charset data.(English and Japanese)

Regards,
Sushil Jadhav

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org