From: Chris Bowditch Date: Thu, 19 Jan 2012 15:21:40 +0000 (+0000) Subject: use of £ was causing some cross platform issues since it's part of the ASCII extended... X-Git-Tag: fop-1_1rc1old~145 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cb5ef63bdccfc497e5e52b1770c508260f34535c;p=xmlgraphics-fop.git 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 --- 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};