Added ECI for values 0-2 and also standardize character encoding names throughout...
[zxing.git] / core / test / src / com / google / zxing / common / AbstractBlackBoxTestCase.java
index d3e1570..e2b5631 100644 (file)
@@ -180,7 +180,7 @@ public abstract class AbstractBlackBoxTestCase extends TestCase {
 
   private static String readFileAsString(File file) throws IOException {
     StringBuilder result = new StringBuilder((int) file.length());
-    InputStreamReader reader = new InputStreamReader(new FileInputStream(file), "UTF-8");
+    InputStreamReader reader = new InputStreamReader(new FileInputStream(file), "UTF8");
     try {
       char[] buffer = new char[256];
       int charsRead;