/hg/icedtea: Replace non-ASCII copyright symbol with Unicode num...
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Thu Nov 12 13:57:52 PST 2009
changeset 0e4ad6f4ee6f in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=0e4ad6f4ee6f
author: Andrew John Hughes <ahughes at redhat.com>
date: Thu Nov 12 22:02:23 2009 +0000
Replace non-ASCII copyright symbol with Unicode number.
2009-11-12 Andrew John Hughes <ahughes at redhat.com>
* test/jtreg/com/sun/javatest/agent/Agent.java,
* test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java:
Replace literal copyright symbol with its Unicode number to
avoid encoding issues.
diffstat:
3 files changed, 9 insertions(+), 2 deletions(-)
ChangeLog | 7 +++++++
test/jtreg/com/sun/javatest/agent/Agent.java | 2 +-
test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java | 2 +-
diffs (38 lines):
diff -r 1cc292b49ad2 -r 0e4ad6f4ee6f ChangeLog
--- a/ChangeLog Thu Nov 12 21:27:25 2009 +0000
+++ b/ChangeLog Thu Nov 12 22:02:23 2009 +0000
@@ -1,3 +1,10 @@ 2009-11-12 Andrew John Hughes <ahughes
+2009-11-12 Andrew John Hughes <ahughes at redhat.com>
+
+ * test/jtreg/com/sun/javatest/agent/Agent.java,
+ * test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java:
+ Replace literal copyright symbol with its Unicode
+ number to avoid encoding issues.
+
2009-11-12 Andrew John Hughes <ahughes at redhat.com>
* test/jtreg/com/sun/interview/AllFilesFileFilter.java,
diff -r 1cc292b49ad2 -r 0e4ad6f4ee6f test/jtreg/com/sun/javatest/agent/Agent.java
--- a/test/jtreg/com/sun/javatest/agent/Agent.java Thu Nov 12 21:27:25 2009 +0000
+++ b/test/jtreg/com/sun/javatest/agent/Agent.java Thu Nov 12 22:02:23 2009 +0000
@@ -584,7 +584,7 @@ public class Agent implements Runnable
static final String productName = "JT Harness Agent";
static final String productVersion = "JTA_3.1.4";
- static final String productCopyright = "Copyright © 1996-2008 Sun Microsystems, Inc";
+ static final String productCopyright = "Copyright \u00A9 1996-2008 Sun Microsystems, Inc";
/**
diff -r 1cc292b49ad2 -r 0e4ad6f4ee6f test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java
--- a/test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java Thu Nov 12 21:27:25 2009 +0000
+++ b/test/jtreg/com/sun/javatest/finder/HTMLTestFinder.java Thu Nov 12 22:02:23 2009 +0000
@@ -276,7 +276,7 @@ public class HTMLTestFinder extends Test
else if (tag.equals("amp"))
replace = "&";
else if (tag.equals("copy"))
- replace = "©";
+ replace = "\u00A9";
if (replace == null)
replace = "&" + tag + ((char) c);
}
More information about the distro-pkg-dev
mailing list