ã³ã³ã½ã¼ã«ããnative2asciiãå®æ½ãã¦ãè¯ãã®ã§ãããJavaã®ã³ã¼ãã®ä¸ã§å®æ½ããªãããããªãæã«ãããæ¸ãçãã³ã¼ããªã®ã§ã¾ã¨ãã¦ããã¾ãã /** * Unicodeæååã«å¤æãã("ã" -> "\u3042") * @param original * @return */ private static String convertToUnicode(String original) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < original.length(); i++) { sb.append(String.format("\\u%04X", Character.codePointAt(original, i))); } String unicode = sb.toString(); r
{{#tags}}- {{label}}
{{/tags}}