Index: trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java	(revision 10181)
+++ trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java	(revision 10182)
@@ -9,7 +9,12 @@
 
 /**
- * Detects the different UTF encodings from byte order mark
+ * Detects the different UTF encodings from byte order mark.
+ * @since 3372
  */
 public final class UTFInputStreamReader extends InputStreamReader {
+
+    private UTFInputStreamReader(InputStream in, String cs) throws UnsupportedEncodingException {
+        super(in, cs);
+    }
 
     /**
@@ -64,16 +69,7 @@
 
         if (encoding == null) {
-            return new UTFInputStreamReader(pushbackStream);
-        } else {
-            return new UTFInputStreamReader(pushbackStream, encoding);
+            encoding = "UTF-8";
         }
-    }
-
-    private UTFInputStreamReader(InputStream in) {
-        super(in);
-    }
-
-    private UTFInputStreamReader(InputStream in, String cs) throws UnsupportedEncodingException {
-        super(in, cs);
+        return new UTFInputStreamReader(pushbackStream, encoding);
     }
 }
