Created
August 6, 2014 06:38
-
-
Save jarek-przygodzki/aa8a6db7dda4bc1ae88a to your computer and use it in GitHub Desktop.
This file contains 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
private static String toUnicode(char ch) { | |
return String.format("\\u%04x", (int) ch); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment