Kyl*_*yle 9 java string utf-8 character-encoding
我想要的最终结果就是这个
System.out.println("This is the not equal to sign\n?");
Run Code Online (Sandbox Code Playgroud)
出现(运行时)为
This is the not equal to sign
?
Run Code Online (Sandbox Code Playgroud)
不要出现
This is the not equal to sign
?
Run Code Online (Sandbox Code Playgroud)
有没有办法做到这一点?我尝试使用Windows字符映射,在这里复制符号,并在我的代码中,但在将编码更改为UTF-8并插入后,它出现了?跑步的时候......
可以做些什么?提前感谢这个完全简单的问题的答案
UTF-8
如果文本编辑器已使用UTF-8或支持此字符,请将字符编码设置为,传递此vm参数
-Dfile.encoding=UTF-8
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
170 次 |
最近记录: |