You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2007/04/02 19:09:30 UTC

svn commit: r524841 - /incubator/abdera/java/trunk/parser/src/main/java/org/apache/abdera/parser/stax/util/FOMSniffingInputStream.java

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 {