- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Fw: Unicode escapes...
Sun, 2010-05-16, 02:46
Sorry if too rudimentary for this
list...
Could someone please give an informed,
complete explanation...
Thanks,
Regards,
Imtiaz
Imtiaz Ahmed H E
Bangalore, India
----- Original Message -----
From: dcsobral [at] gmail [dot] com (Daniel Sobral)
To: in [dot] imtiaz [at] gmail [dot] com (Imtiaz Ahmed H E)
Cc: scala-user [at] listes [dot] epfl [dot] ch
Sent: Saturday, May 15, 2010 9:04 PM
Subject: Re: [scala-user] Unicode escapes...
You can have multiple "u" and it will still be an unicode escape. I tried having multiple double backslash after the first (ie, odd number of backslashes) but that didn't work for me.
Why? Beats me.
On Sat, May 15, 2010 at 6:05 AM, Imtiaz Ahmed H E <in [dot] imtiaz [at] gmail [dot] com> wrote:
--
Daniel C. Sobral
I travel to the future all the time.
You can have multiple "u" and it will still be an unicode escape. I tried having multiple double backslash after the first (ie, odd number of backslashes) but that didn't work for me.
Why? Beats me.
On Sat, May 15, 2010 at 6:05 AM, Imtiaz Ahmed H E <in [dot] imtiaz [at] gmail [dot] com> wrote:
The Scala language specification says, UnicodeEscape ::= \{\\}u{u} hexDigit hexDigit hexDigit hexDigitWould deeply appreciate someone letting me know what \{\\}u{u} means ? I mean, what do the optional repetitions of \\ and u following the 1st \ and u respectively, mean ?
Apoogies, maybe has to do with me not knowing the Unicode standard much !
Thanks,
Imtiaz
Imtiaz Ahmed H E
Bangalore, India
--
Daniel C. Sobral
I travel to the future all the time.