Skip to content

Instantly share code, notes, and snippets.

Avatar
🈲

zhihaoguo backwind1233

🈲
View GitHub Profile
@backwind1233
backwind1233 / unicode_public
Created Dec 31, 2015
unicode 编码中文转换
View unicode_public
/**
* unicode编码转换为中文
* @param str
* @return
*/
public static String reconvert(String str) {
char[] c = str.toCharArray();
String resultStr = "";
for (int i = 0; i < c.length; i++)
resultStr += String.valueOf(c[i]);