]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Submitted by Lucas Bruand to JFOR: escape all characters > 127 instead of 255
authorPeter Herweg <pherweg@apache.org>
Tue, 27 Jan 2004 16:58:58 +0000 (16:58 +0000)
committerPeter Herweg <pherweg@apache.org>
Tue, 27 Jan 2004 16:58:58 +0000 (16:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197274 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java

index 678d974021c83a5ab0103ccfaa7d477b22887a30..47a547374df3462373d43d8955023f80d8fbb5ac 100644 (file)
@@ -137,7 +137,7 @@ public class RtfStringConverter {
                 w.write('\\');
                 w.write(replacement);
                 w.write(' ');
-            } else if (c.charValue() > 255) {
+            } else if (c.charValue() > 127) {
                 // write unicode representation - contributed by Michel Jacobson
                 // <jacobson@idf.ext.jussieu.fr>
                 w.write("\\u");