X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fcommon%2FAbstractBlackBoxTestCase.java;fp=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fcommon%2FAbstractBlackBoxTestCase.java;h=e2b56311eb0085a6bd6a6342c987141bef4364c3;hb=42ae69f4ff3046a1fc739e453753fc0d1de74aa2;hp=d3e1570c575efc50e1b888b137982eb457c2095f;hpb=cea8b3c390d013fff28c6050931e1bc935078dac;p=zxing.git diff --git a/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java b/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java index d3e1570c..e2b56311 100644 --- a/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java +++ b/core/test/src/com/google/zxing/common/AbstractBlackBoxTestCase.java @@ -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;