>From my emacs start up file:

;; prevent slime to crash when encountering non ascii char
(set-language-environment "UTF-8")
(setq slime-net-coding-system 'utf-8-unix)
Le 14 juin 2011 06:16, "jlk" <lachlan.kana...@gmail.com> a écrit :
> Hello
>
> Is there a trick to making this work in emacs/slime?
>
> If I enter pi in the *slime-repl clojure* buffer:
> cond: Coding system iso-latin-1-unix not suitable for "000043(:emacs-
> rex (swank:listener-eval \"π\") \"jlk.math\" :repl-thread 19)
> so the encoding type is not UTF, but I can't set it using C-x Ret f
>
> Pi character works fine in the *infererior-lisp* buffer
>
> - Lachlan
>
>
> On Jun 11, 3:19 am, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
>> Symbols already permit Unicode characters. The Clojure reader assumes
>> UTF-8.  This may or may not render in G. Groups, though:
>>
>> user=> (def π (Math/PI))
>> #'user/π
>> user=> π
>> 3.141592653589793
>>
>> Of course, there's no actual layout, but you could write code that reads
a
>> mathematical expression in Clojure and generates TeX or something.
>>
>> -Stuart Sierra
>> clojure.com
>
> --
> 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

Reply via email to