geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r761195 - /geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/FilterResponseWrapper.java
Date Thu, 02 Apr 2009 08:12:57 GMT
Author: xuhaihong
Date: Thu Apr  2 08:12:57 2009
New Revision: 761195

URL: http://svn.apache.org/viewvc?rev=761195&view=rev
Log:
GERONIMO-4609 Console could not display correctly on Chinese platform

Modified:
    geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/FilterResponseWrapper.java

Modified: geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/FilterResponseWrapper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/FilterResponseWrapper.java?rev=761195&r1=761194&r2=761195&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/FilterResponseWrapper.java
(original)
+++ geronimo/server/trunk/plugins/console/console-filter/src/main/java/org/apache/geronimo/console/filter/FilterResponseWrapper.java
Thu Apr  2 08:12:57 2009
@@ -75,7 +75,7 @@
      * @throws IOException
      */
     public void setOutput(String s) throws IOException {
-        setOutput(s.getBytes());
+        setOutput(s.getBytes("UTF-8"));
     }
 
     /**



Mime
View raw message