Madhu wrote:
- Helmut Eller m28wxnn1si.fsf@common-lisp.net :
Wrote on Mon, 02 Jun 2008 20:13:01 +0200:
| * Raymond Toy [2008-06-02 00:12+0200] writes: | |> Here is a small patch to enable support for Unicode for CMUCL. |> |> Seems to work. May need some more work on the |> *external-format-to-coding-system*, but iso-8859-1 and utf-8 appear to |> work ok, for the little bit of testing I've done. | | Committed.
The commit calls MAKE-FD-STREAM with an EXTERNAL-FORMAT keyword argument But MAKE-FD-STREAM in code/fd-stream and the structure do not support this yet?
(sys:make-fd-stream fd :input t :output t :element-type 'base-char
:buffering buffering))
:buffering buffering
#+unicode :external-format
#+unicode external-format))
It's only supported if you have a unicode build, which hasn't been officially released yet.
This works for me. To be useful, you might want to do (setf *default-external-format* :utf-8) or something. You need to set up slime too to be able to see something useful.
Ray