abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r452084 - /incubator/abdera/java/trunk/core/src/test/java/org/apache/abdera/test/iri/TestBase.java
Date Mon, 02 Oct 2006 15:43:36 GMT
Author: jmsnell
Date: Mon Oct  2 08:43:36 2006
New Revision: 452084

URL: http://svn.apache.org/viewvc?view=rev&rev=452084
Log:
Explicitly set the charset 

Modified:
    incubator/abdera/java/trunk/core/src/test/java/org/apache/abdera/test/iri/TestBase.java

Modified: incubator/abdera/java/trunk/core/src/test/java/org/apache/abdera/test/iri/TestBase.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/test/java/org/apache/abdera/test/iri/TestBase.java?view=diff&rev=452084&r1=452083&r2=452084
==============================================================================
--- incubator/abdera/java/trunk/core/src/test/java/org/apache/abdera/test/iri/TestBase.java
(original)
+++ incubator/abdera/java/trunk/core/src/test/java/org/apache/abdera/test/iri/TestBase.java
Mon Oct  2 08:43:36 2006
@@ -25,7 +25,7 @@
     try {
       byte[] b = new byte[chars.length];
       for (int n = 0; n < chars.length; n++) b[n] = (byte)chars[n];
-      return new String(b);
+      return new String(b,"utf-8");
     } catch (Exception e ) {
       e.printStackTrace();
     }



Mime
View raw message