Don Geddis <don@...> writes:
> Just to complete this report:
>
> unix:~> echo $LANG
> en_US.UTF-8
>
> unix:~> locale -k LC_CTYPE | grep charmap
> charmap="ANSI_X3.4-1968"
ANSI_X3.4-1968 is code for ASCII -- I suspect that this is telling you
that although you've set that LANG on your system, that locale isn't in
fact supported. What does locale -a say? FWIW, on my Debian system it
says
csr21@...:~$ locale -a
C
en_GB.utf8
fr_FR.utf8
POSIX
csr21@...:~$ echo $LANG
en_GB.UTF-8
csr21@...:~$ locale -k LC_CTYPE | grep charmap
charmap="UTF-8"
And my sbcl defaults to a utf-8 external format. If you're root, and if
no plausible locales are showing up for "locale -a", you could run
"dpkg-reconfigure locales" to choose some plausible ones to generate for
your system.
> It still seems ... unhelpful? ... for sbcl to default to :ASCII as an
> external format. You seem surprised by this. But I have the same
> behavior on both a Debian box and also a Ubuntu box (running different
> sbcl versions), so it seems intentional.
What is intentional is to default to whatever the Unix/nl_langinfo()
LC_CTYPE character map is. On your systems, that's ASCII, for an
unknown reason; on mine it's definitely not...
Good luck!
Cheers,
Christophe