On Fri, Oct 19, 2012 at 4:52 AM, Henrik Mohr <lupos...@gmail.com> wrote:
> Still I hope someone can answer the question on why ClojureScript behaves > differently from Clojure. > > Output from Clojure: > user=> (str "ø") > *"ø"* > > Output from ClojureScript: > #_=> (str "ø") > *"\xF8"* > > Output from node.js: > > console.log ("ø"); > *ø* > > Output from Chrome Console: > console.log ("ø") > *ø* > > Anyone from Clojure Core that can comment on this? > > Thanks in advance. > > BRgds, > Henrik > I believe this may be due to the logic in compiler.clj on lines 70-84. Perhaps the condition on line 82 should be a bit broader, (< 31 cp 256) instead of (< 31 cp 127) ? I'm not sure ... if somebody else could chime in on that logic that would help. David -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en