s*i
2 楼
String b = "\u000A"; is syntax error.
String b = "\u0009"; is right,
String b = "\u001A"; is right too.
why?
How to input "\u000A" into a variable?
thx
String b = "\u0009"; is right,
String b = "\u001A"; is right too.
why?
How to input "\u000A" into a variable?
thx
o*e
4 楼
"\n"
who cares why, it's very special case.
but there's one paragraph just to explain
this in the java spec if you want to know.
【在 s*****i 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: String b = "\u000A"; is syntax error.
: String b = "\u0009"; is right,
: String b = "\u001A"; is right too.
: why?
: How to input "\u000A" into a variable?
: thx
who cares why, it's very special case.
but there's one paragraph just to explain
this in the java spec if you want to know.
【在 s*****i 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: String b = "\u000A"; is syntax error.
: String b = "\u0009"; is right,
: String b = "\u001A"; is right too.
: why?
: How to input "\u000A" into a variable?
: thx
s*d
7 楼
The answer is here:
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#231571
【在 s*****i 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: The problem is you can not input the unicode from
: "\u000A"
: "\u000B"
: "\u000C"
: "\u000D"
: ...
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#231571
【在 s*****i 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: The problem is you can not input the unicode from
: "\u000A"
: "\u000B"
: "\u000C"
: "\u000D"
: ...
m*t
9 楼
相关阅读
问个简单问题help with java debugger这样的功能是怎样实现的?谢谢![转载] suggestions?Re: help for running CPU intensive progr怎么连接Cloudscape数据库?JMS消息发布的问题Which IDE is good in Linux?How to know if a file is open or not?[转载] Sun One Directory Server安装求教请问java的ide新手请教!如何在jbuilder中开发jsp 中,如何更改jsp怎么这么萧条捏Help.?How to implement Math function?any tools for ...oh no, not again!请教Programming bookscalling javascript from applet in Opera? ObjectOutputStream.writeObject(Hashtable) ?如何将WSAD的web app 在Tomcat 中发布?