Created
February 10, 2015 03:07
-
-
Save Khunpisit/a11f69bdda2ee319c49c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String getByteUtfString(String text) throws Exception { | |
return new String(text.getBytes("ISO8859-1"), "UTF-8"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment