I'm on Snow Leopard. I think there's something wrong with Terminal ----------------------------- $ java -cp clojure-1.2.0-master-20100623.220259-87.jar clojure.main Clojure 1.2.0-master-SNAPSHOT user=> (def t "車馬象士將士象馬車") #'user/t user=> t "車馬象士將士象馬車" user=> (count t) 27 user=> (.length t) 27 -----------------------------
But if I save to a file and run that file, then the result is correct. On Jul 2, 1:59 am, Stuart Halloway <stuart.hallo...@gmail.com> wrote: > I see 9 on 1.2 as well. The call to .length is a Java interop form, so it is > very difficult to imagine how this might change. > > Stu > > > > > With 1.2-master-SNAPSHOT: > > > (def t "車馬象士將士象馬車") > > (count t) ; => 27 > > (.length t) ; => 27 > > > With 1.1, the result is 9. > > > -- > > 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 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