Merge "Fix encoding problem from curl repostory on github"

This commit is contained in:
Shawn Pearce 2015-12-30 23:47:27 -05:00 committed by Gerrit Code Review @ Eclipse.org
commit 2fbd98dbe8
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ public final class RawParseUtils {
static {
encodingAliases = new HashMap<String, Charset>();
encodingAliases.put("latin-1", Charset.forName("ISO-8859-1")); //$NON-NLS-1$ //$NON-NLS-2$
encodingAliases.put("'utf8'", Charset.forName("UTF-8")); //$NON-NLS-1$ //$NON-NLS-2$
digits10 = new byte['9' + 1];
Arrays.fill(digits10, (byte) -1);