Subject: [Gcl-devel] GCL 2.6.8 and 2.6.9 are released
From: Leo Butler
Date: Fri, 6 Sep 2013 18:02:40 GMT
From: Henry Baker <hbaker1 at pipeline.com>
UTF8 isn't 'critical', but not having it means that interfacing with
file systems & documents that utilize UTF8 is quite difficult.
Henry, I don't know if the following answers your question, but I do
suspect you and Camm have different ideas of what 'handling' utf8
means. It may be that for your purposes, it handles them well enough.
This is from gcl 2.6.9 ansi from the debian testing repo:
>(with-open-file (?-stream "???.txt" :direction :output :if-exists :supersede :if-does-not-exist :create) (format ?-stream "???"))
NIL
>(with-open-file (?-stream "???.txt" :direction :input) (read-line ?-stream nil nil))
"???"
T
>(coerce (symbol-name '?) 'list)
(#\\317 #\\207)
SBCL, by contrast, yields:
* (coerce (symbol-name '?) 'list)
(#\GREEK_CAPITAL_LETTER_CHI)
In case the mail server or client corrupts the message, gcl is
interning a symbol with a non-ascii char and it is creating a file
with non-ascii chars in its name and successfully writing to and
reading from that file.
I have been using maxima+{gcl,ecl,sbcl,cmucl} plus this hack
https://github.com/leo-butler/utf8-hack
to use utf8 chars in maxima. This works fine in emacs and (sort of) in
xmaxima. Wxmaxima does not display wide chars correctly and I have
not chased a solution.
Leo