From cb5ef63bdccfc497e5e52b1770c508260f34535c Mon Sep 17 00:00:00 2001 From: Chris Bowditch Date: Thu, 19 Jan 2012 15:21:40 +0000 Subject: [PATCH] =?utf8?q?use=20of=20=C2=A3=20was=20causing=20some=20cross?= =?utf8?q?=20platform=20issues=20since=20it's=20part=20of=20the=20ASCII=20?= =?utf8?q?extended=20character=20set.=20Swapped=20it=20for=20a=20Unicode?= =?utf8?q?=20reference=20to=20resolve=20the=20problem.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233427 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/fop/afp/goca/GraphicsCharacterStringTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.39.5