More Issue 1084 -- more aliases for certain encodings

git-svn-id: https://zxing.googlecode.com/svn/trunk@2063 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-11-30 21:09:30 +00:00
parent b79c099d75
commit 88fd3dd32f

View file

@ -49,11 +49,11 @@ public enum CharacterSetECI {
Cp1251(22, "windows-1251"),
Cp1252(23, "windows-1252"),
Cp1256(24, "windows-1256"),
UnicodeBigUnmarked(25, "UTF-16BE"),
UnicodeBigUnmarked(25, "UTF-16BE", "UTF-16"),
UTF8(26, "UTF-8"),
ASCII(27, "US-ASCII"),
ASCII(new int[] {27, 170}, "US-ASCII"),
Big5(28),
EUC_CN(new int[] {29}, "x-EUC_CN"),
EUC_CN(new int[] {29}, "GB2312", "GB18030"),
EUC_KR(new int[]{30}, "EUC-KR");
private static final Map<Integer,CharacterSetECI> VALUE_TO_ECI = new HashMap<Integer,CharacterSetECI>();