pherweg     2004/01/27 08:58:59

  Modified:    src/java/org/apache/fop/render/rtf/rtflib/rtfdoc
                        RtfStringConverter.java
  Log:
  Submitted by Lucas Bruand to JFOR: escape all characters > 127 instead of 255
  
  Revision  Changes    Path
  1.2       +2 -2      
xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java
  
  Index: RtfStringConverter.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RtfStringConverter.java   4 Nov 2003 23:59:11 -0000       1.1
  +++ RtfStringConverter.java   27 Jan 2004 16:58:58 -0000      1.2
  @@ -137,7 +137,7 @@
                   w.write('\\');
                   w.write(replacement);
                   w.write(' ');
  -            } else if (c.charValue() > 255) {
  +            } else if (c.charValue() > 127) {
                   // write unicode representation - contributed by Michel Jacobson
                   // <[EMAIL PROTECTED]>
                   w.write("\\u");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to