I am running eclipse in Linux and while shift+control+U+1+1+1+1 works in other apps (where 1111 are the 4 digits of the unicode character in question) like firefox, it fails in eclipse.
I just want to add some special chars to my Java string.
If all else fails, just use a Unicode escape:
String s = "\u1111";
Spares you the hassle of configuring charsets for your source files as well :)
在另一个程序中创建角色并将其复制到Eclipse。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.