1.表情字符转编码
【C#】
Encoding.UTF32.GetBytes("?")
->
["1", "f6", "1", "0"]
【js】
"?".codePointAt(0).toString(16)
->
1f601
【java】
byte[] bytes = "?".getBytes("utf-32"); System.out.println(getBytesCode(bytes)); private static String getBytesCode(byte[] bytes) { String code = ""; for (byte b : bytes) {