You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by cb...@apache.org on 2012/01/19 16:21:40 UTC

svn commit: r1233427 - /xmlgraphics/fop/trunk/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java

Author: cbowditch
Date: Thu Jan 19 15:21:40 2012
New Revision: 1233427

URL: http://svn.apache.org/viewvc?rev=1233427&view=rev
Log:
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.

Modified:
    xmlgraphics/fop/trunk/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java

Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java?rev=1233427&r1=1233426&r2=1233427&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/afp/goca/GraphicsCharacterStringTestCase.java Thu Jan 19 15:21:40 2012
@@ -33,7 +33,7 @@ public class GraphicsCharacterStringTest
     // 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};
 



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org