[ 
https://issues.apache.org/jira/browse/GROOVY-7727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Theodorou updated GROOVY-7727:
-------------------------------------
    Summary: Cannot create unicode sequences using \Uxxxxxx  (was: CAnnot 
create unicode sequences using \Uxxxxxx)

> Cannot create unicode sequences using \Uxxxxxx
> ----------------------------------------------
>
>                 Key: GROOVY-7727
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7727
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 2.4.5
>            Reporter: Andres Almiray
>
> According to 
> http://www.oracle.com/technetwork/articles/java/supplementary-142654.html 
> "For text input, the Java 2 SDK provides a code point input method which 
> accepts strings of the form "\Uxxxxxx", where the uppercase "U" indicates 
> that the escape sequence contains six hexadecimal digits, thus allowing for 
> supplementary characters. A lowercase "u" indicates the original form of the 
> escape sequences, "\uxxxx". You can find this input method and its 
> documentation in the directory demo/jfc/CodePointIM of the J2SDK."
> The following code fails with a syntax exception
>     s = "\U01f5d0"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to