Sorry, I should have been more clear. In the following the space at the end of the string is a no break space and the first execution is under clojurescript, the second under clojure.
user> (clojure.string/trim "54 ") "54" bible-plan.mcheyne> :cljs/quit :cljs/quit bible-plan.piggieback-rhino> (clojure.string/trim "54 ") "54 " So under clojurescript, a no break space is considered whitespace (certainly what I would expect!) but on the jvm it is not. That's the discrepancy I'm talking about. The unicode character NO BREAK SPACE (http://www.fileformat.info/info/unicode/char/a0/index.htm) seems like it should be considered whitespace. Of course I know that JVM land String.trim does not do this but I would basically consider that a bug. Further thoughts? -- In Christ, Timmy V. http://blog.twonegatives.com/ http://five.sentenc.es/ -- Spend less time on mail -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.