Re: Newbie: Creating a character from a Unicode sequence

2008-12-22 Thread Stephen C. Gilardi
On Dec 23, 2008, at 1:53 AM, Emeka wrote: What is '16' doing there? Emeka It the optional "radix" argument to parseInt, specifying that the characters being parsed should be interpreted as hexadecimal digits. http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Integer.html#parseInt(java.la

Re: Newbie: Creating a character from a Unicode sequence

2008-12-22 Thread Emeka
What is '16' doing there? Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+un

Re: Newbie: Creating a character from a Unicode sequence

2008-12-22 Thread Stephen C. Gilardi
On Dec 23, 2008, at 1:03 AM, samppi wrote: Is there a way to turn this: [\3 \5 \A \3] ...into this? \u35A3 Here's one way: user=> (#(char (Integer/parseInt (apply str %) 16)) [\3 \5 \A \3]) \㖣 user=> --Steve smime.p7s Description: S/MIME cryptographic signature

Newbie: Creating a character from a Unicode sequence

2008-12-22 Thread samppi
Is there a way to turn this: [\3 \5 \A \3] ...into this? \u35A3 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe fro