2011/6/20 Andreas Liljeqvist <bon...@gmail.com>:
> I still have encoding problems in repl outside of Emacs (of course...).
> This is fine while I am developing, but problematic for rolling out to
> customers.
>
> Setting -Dfile.encoding=UTF8
> Doesn't solve it.
>
> Anyone?

What repl? Bare java -cp clojure.jar clojure.main? lein repl?

If you use lein repl, you *should* install the "rlwrap" program on
your system (e.g. on a Debian based GNU/Linux distro: apt-get install
rlwrap). If rlwrap is not installed, Leiningen will use JLine, which
does not support UTF-8 properly... :(

The *in* and *out* streams are opened with the "default encoding",
which I believe you set with the file.encoding property.

// Rasmus Svensson (raek)

-- 
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

Reply via email to