abdera-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?view=rev&rev=524841
Log:
Grrr.... these shouldn't have been changed

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=524841&r1=524840&r2=524841
==============================================================================
--- 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:09:29 2007
@@ -95,13 +95,13 @@
       bomset = true;
       return "utf-8";
     } else if (equals(bom,4,UTF32be2)) {
-      charset = "utf-32";
+      charset = "utf-32be";
     } else if (equals(bom,4,UTF32le2)) {
-      charset = "utf-32";
+      charset = "utf-32le";
     } else if (equals(bom,4,UTF16be2)) {
-      charset = "utf-16";
+      charset = "utf-16be";
     } else if (equals(bom,4,UTF16le2)) {
-      charset = "utf-16";
+      charset = "utf-16le";
     }
     bomset = false;
     try { 



Mime
View raw message