Re: unicode escape problems

Matthias Radestock <[email protected]>
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Dan <[email protected]> writes:

> 1) "\u0000"" is somehow seen as a single string
> (upto the third double-quote!). Somehow \u0000 causes
> the next double-quote to be "eaten". Tested from the
> command prompt of sisc-1.15.1. In contrast "\u0041"
> terminates at the second double-quote as it should.
>
> Similar problems appear for character literals
> '#\u000

Well spotted. Please raise a bug for that.

> 2) A bare, unquoted \u0041 is interpreted as the
> variable A. The reader accepts unicode escapes even
> outside string and character contexts.

afaik this is intentional.


Matthias.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.