cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/serialization RTFSerializer.java
Date Fri, 03 May 2002 12:28:58 GMT
sylvain     02/05/03 05:28:58

  Modified:    src/java/org/apache/cocoon/serialization RTFSerializer.java
  Log:
  Ensure ISO-8859-1 is used even if it's not the platform default.
  
  Revision  Changes    Path
  1.7       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/serialization/RTFSerializer.java
  
  Index: RTFSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/serialization/RTFSerializer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RTFSerializer.java	26 Apr 2002 10:42:17 -0000	1.6
  +++ RTFSerializer.java	3 May 2002 12:28:58 -0000	1.7
  @@ -78,7 +78,7 @@
    * to serialize XSL:FO documents to RTF streams.
    *
    * @author <a href="mailto:gianugo@rabellino.it">Gianugo Rabellino</a>
  - * @version CVS $Id: RTFSerializer.java,v 1.6 2002/04/26 10:42:17 cziegeler Exp $
  + * @version CVS $Id: RTFSerializer.java,v 1.7 2002/05/03 12:28:58 sylvain Exp $
    */
   
   public class RTFSerializer extends AbstractTextSerializer
  @@ -114,7 +114,7 @@
               new OutputStreamLogger(this.getLogger(), Priority.DEBUG);
   
             rtfWriter =
  -            new BufferedWriter(new OutputStreamWriter(out));
  +            new BufferedWriter(new OutputStreamWriter(out, "ISO-8859-1"));
             handler = new Converter(rtfWriter,
               Converter.createConverterOption(cocoonLogger));
             super.setContentHandler(handler);
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message