Skip to content

Instantly share code, notes, and snippets.

@armoucar
Last active December 10, 2015 21:58
Show Gist options
  • Save armoucar/4498138 to your computer and use it in GitHub Desktop.
Save armoucar/4498138 to your computer and use it in GitHub Desktop.
java string charset parser
new String("abc".getBytes(Charset.forName("ISO-8859-1")), Charset.forName("UTF-8"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment