tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46252] New: Tomcat access log doesn't support Unicode
Date Thu, 20 Nov 2008 19:18:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46252

           Summary: Tomcat access log doesn't support Unicode
           Product: Tomcat 5
           Version: 5.5.17
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: adam_polomski@symantec.com


AccessLogValve, which is responsible for handling the access log uses
FileWriter (that doesn't support Unicode). I guess that instantiating the
writer like this would solve the case:

writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream(pathname),
"UTF-8"), true);


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message