Newbie: Displaying Unicode characters in CLISP



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.

.



Relevant Pages

  • Re: Unicode Support
    ... >> (I know this is a poor example, but think about other languages, eg ... First things first, when you register your RosAsm windows classes, you ... the messages with ANSI / UNICODE parameters in ANSI or UNICODE form... ... with their alphabet characters, as with the numbers and punctuation...so, ...
    (alt.lang.asm)
  • =?windows-1252?Q?Re=3A_Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogat?= =?windows-1252?Q?e
    ... characters of an exotic eastern language using an ASCII keyboard. ... communicate in large volume with China or Japan using CJK from Unicode ... present the message text to Alice as a string of hexadecimal numbers ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • =?windows-1252?Q?Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogate_Al?= =?windows-1252?Q?pha
    ... characters of an exotic eastern language using an ASCII keyboard. ... It is true to say that any keyboard of any language can be simulated ... communicate in large volume with China or Japan using CJK from Unicode ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • =?windows-1252?Q?Re=3A_Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogat?= =?windows-1252?Q?e
    ... characters of an exotic eastern language using an ASCII keyboard. ... communicate in large volume with China or Japan using CJK from Unicode ... present the message text to Alice as a string of hexadecimal numbers ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • Re: How to check variables for uniqueness ?
    ... characters is the sequence SS. ... is simply capitalizing strings. ... The fact that case mapping in English /is/ simple is neither here not ... That is a fair criticism of the Unicode position. ...
    (comp.lang.java.programmer)