diff options
author | Chris Bowditch <cbowditch@apache.org> | 2012-01-19 15:21:40 +0000 |
---|---|---|
committer | Chris Bowditch <cbowditch@apache.org> | 2012-01-19 15:21:40 +0000 |
commit | cb5ef63bdccfc497e5e52b1770c508260f34535c (patch) | |
tree | faf2feacd95720ad61cad6f2b652306626d15e74 /test | |
parent | 1095a4956cb4bb8f8c458f5c672f0dc67d62407a (diff) | |
download | xmlgraphics-fop-cb5ef63bdccfc497e5e52b1770c508260f34535c.tar.gz xmlgraphics-fop-cb5ef63bdccfc497e5e52b1770c508260f34535c.zip |
use of £ was causing some cross platform issues since it's part of the ASCII extended character set. Swapped it for a Unicode reference to resolve the problem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233427 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java b/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java index e986567f2..48803e69c 100644 --- a/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java +++ b/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java @@ -33,7 +33,7 @@ public class GraphicsCharacterStringTestCase { // consider the EBCDIC code page variants Cp500 and Cp1146
// the £ corresponds to byte 5B (position 91) in the CCSID 285 and CCSID 1146
// the $ corresponds to byte 5B (position 91) in the CCSID 500
- private final String poundsText = "££££";
+ private final String poundsText = "\u00A3\u00A3\u00A3\u00A3";
private final String dollarsText = "$$$$";
private final byte[] bytesToCheck = {(byte) 0x5b, (byte) 0x5b, (byte) 0x5b, (byte) 0x5b};
|