On Apr 27, 2009, at 10:07 AM, samppi wrote:
I see. Does this mean that, if I expect to handle 32-bit characters,
then I need to consider changing my character-handling functions to
accept sequences of vectors instead?
The blog post touches on this and searching around on Google and
Wikipedi
samppi a écrit :
> I see. Does this mean that, if I expect to handle 32-bit characters,
> then I need to consider changing my character-handling functions to
> accept sequences of vectors instead?
>
> Also, how does (seq "\ud800\udc00") work? Does it split the character
> into two 16-bit character
I see. Does this mean that, if I expect to handle 32-bit characters,
then I need to consider changing my character-handling functions to
accept sequences of vectors instead?
Also, how does (seq "\ud800\udc00") work? Does it split the character
into two 16-bit characters? In the REPL, it seems to
On Apr 26, 2009, at 7:47 PM, samppi wrote:
user=> \u1
java.lang.IllegalArgumentException: Invalid unicode character: \u1
How would I embed the character as a literal in my Clojure code?
Java characters are (still) 16 bits wide. A single Java character
cannot represent the Unicode ch
In the REPL:
Clojure
user=> \u0032
\2
user=> \u1
java.lang.IllegalArgumentException: Invalid unicode character: \u1
How would I embed the character as a literal in my Clojure code?
--~--~-~--~~~---~--~~
You received this message because you are subscribed