On Mon, Nov 10, 2008 at 2:42 AM, Toralf Wittner <[EMAIL PROTECTED]>wrote:
> Dear list members, > > There is a small problem with unicode escapes in Clojure strings. When > StringReader encounters a unicode escape it checks Character.isDigit > which is only true for decimal digits, but not hexadecimal. > > The other problem is that CharacterReader accepts a character constant > denoting a high or low surrogate as a valid character which it is not. > Cf. http://en.wikipedia.org/wiki/UTF-16 and > http://java.sun.com/javase/6/docs/api/java/lang/Character.html > > > The attached patch (against r1092) corrects both issues. > Patch applied (svn 1099) - thanks! Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---
