Newbie: Displaying Unicode characters in CLISP
- From: proton <leosarasua@xxxxxxxxx>
- Date: Fri, 31 Aug 2007 20:54:52 -0000
I am a newbie to CLISP, and I am a bit lost. I am trying
(unsuccessfully ) to display Unicode characters, such as a Greek alpha
on the screen. I have tried the following:
(code-char #x03B1) ==> #\GREEK_SMALL_LETTER_ALPHA, a good start, but
not an alpha character.
If I do:
(format t "~a" (code-char #x03B1)) ==> I get ERROR character #
\03B1..... cannot be represented in the character set CHARSET:CP850
If I change the encoding with:
(setf *terminal-encoding* (make-encoding :charset charset:utf-8))
and try the previous command, now I get something different: two DOS-
style box characters.
I have read in the implementation notes that CLISP must be compiled
with the Unicode option activated. I don't know how to see if this is
the case, but I suspect it is on because of the different behavior
when I change the terminal-encoding (am I right?). So I suspect that I
still need to change some other settings.
Is there any way to display non-ASCII characters?
I am running version 2-41of CLISP in Win2000, with several Unicode
fonts.
Thanks a lot for your help.
.
- Prev by Date: Re: defparameter (& co) with multiple values idiom
- Previous by thread: (WWW.CNCIRCLE.COM) discount wholesale jordan shoes,af1,gucci ,prade shoes, T -shirts
- Index(es):
Relevant Pages
|
|