diff options
author | Peter Herweg <pherweg@apache.org> | 2004-01-27 16:58:58 +0000 |
---|---|---|
committer | Peter Herweg <pherweg@apache.org> | 2004-01-27 16:58:58 +0000 |
commit | 59b4a8a44c77fef68b450a581ae8f66d0a7133c7 (patch) | |
tree | 6bb628584011b35ffad7601e98fd9a2e494bf34c /src | |
parent | 6529ab7144aa9c812a25ae5d53f9382ec9bb4c14 (diff) | |
download | xmlgraphics-fop-59b4a8a44c77fef68b450a581ae8f66d0a7133c7.tar.gz xmlgraphics-fop-59b4a8a44c77fef68b450a581ae8f66d0a7133c7.zip |
Submitted by Lucas Bruand to JFOR: escape all characters > 127 instead of 255
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197274 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java index 678d97402..47a547374 100644 --- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java +++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStringConverter.java @@ -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"); |