tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant AbstractCatalinaTask.java
Date Mon, 06 Oct 2003 09:04:43 GMT
remm        2003/10/06 02:04:43

  Modified:    catalina/src/share/org/apache/catalina/ant
                        AbstractCatalinaTask.java
  Log:
  - The messages are UTF-8 encoded (bug 23490).
  - Submitted by Takashi Okamoto.
  
  Revision  Changes    Path
  1.2       +11 -5     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/AbstractCatalinaTask.java
  
  Index: AbstractCatalinaTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/AbstractCatalinaTask.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractCatalinaTask.java	18 Jul 2002 16:48:13 -0000	1.1
  +++ AbstractCatalinaTask.java	6 Oct 2003 09:04:43 -0000	1.2
  @@ -91,6 +91,12 @@
       // ----------------------------------------------------- Instance Variables
   
   
  +    /**
  +     * manager webapp's encoding.
  +     */ 
  +    private static String CHARSET = "utf-8";
  +
  +
       // ------------------------------------------------------------- Properties
   
   
  @@ -245,7 +251,7 @@
               }
   
               // Process the response message
  -            reader = new InputStreamReader(hconn.getInputStream());
  +            reader = new InputStreamReader(hconn.getInputStream(), CHARSET);
               StringBuffer buff = new StringBuffer();
               String error = null;
               boolean first = true;
  
  
  

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


Mime
View raw message