How to print surrogate chars as ints in Java

前端 未结 0 1350
北恋
北恋 2021-02-04 11:48

I have this:

char c = "\\ud804\\udef4".charAt(0);
char d = "\\ud804\\udef4".charAt(1);

How will I print c and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题