Browse Source

Merge "Fix encoding problem from curl repostory on github"

stable-4.3
Shawn Pearce 9 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
2fbd98dbe8
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java

1
org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java

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

Loading…
Cancel
Save