abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r524840 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java
Date Mon, 02 Apr 2007 17:08:39 GMT
Author: jmsnell
Date: Mon Apr  2 10:08:38 2007
New Revision: 524840

URL: http://svn.apache.org/viewvc?view=rev&rev=524840
Log:
Oops, missed one

Modified:
    incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java

Modified: incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java?view=diff&rev=524840&r1=524839&r2=524840
==============================================================================
--- incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java
(original)
+++ incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java
Mon Apr  2 10:08:38 2007
@@ -77,10 +77,10 @@
     String charset = null;
     if (equals(bom,4,UTF32be)) {
       bomset = true;
-      return "utf-32be";
+      return "utf-32";
     } else if (equals(bom,4,UTF32le)) {
       bomset = true;
-      return "utf-32le";
+      return "utf-32";
     } else if ((equals(bom,4,INVALID1)) ||
                (equals(bom,4,INVALID2))) {
       bomset = true;



Mime
View raw message