Although I set UTF-8 everywhere (in my lein
project, the slime-lisp
group customization, the Emacs buffer itself...), I keep getting this error when trying to run code such as (def beta "β")
:
Coding system iso-latin-1-unix not suitable [...]
Happens only in Emacs, not when running lein repl
from the command line, for instance.
What could be causing it? I'm using Ubuntu, if that makes any difference.
you should have following code in your
.emacs
:and following in your
project.clj
when you runlein swank
(or setupswank.encoding
Java system property toutf-8
):