Re: Printing unicode

This is a discussion on Re: Printing unicode within the lisp forums in Programming Languages category; On Nov 9, 10:46*pm, jenspetter...@gmail.com wrote: > On Nov 9, 8:36*pm, Lars Rune Nøstdal <larsnost...@gmail.com> wrote: > > > > > On Sun, 2008-11-09 at 11:20 -0800, jenspetter...@gmail.com wrote: > > > On Nov 9, 5:42 pm, smallpond <smallp...@juno.com> wrote: > > > > The US DOS character set is CP437, which lists the spade character > > > > as Unicode value dec 9824 / hex 2660. > > > > Seems I got my decimal and hex mixed up there > > > But I still get the same message: > > > > Character #\u2660 cannot be ...

Go Back   Application Development Forum > Programming Languages > lisp

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2008, 05:00 AM
blandest
Guest
 
Default Re: Printing unicode

On Nov 9, 10:46*pm, jenspetter...@gmail.com wrote:
> On Nov 9, 8:36*pm, Lars Rune Nøstdal <larsnost...@gmail.com> wrote:
>
>
>
> > On Sun, 2008-11-09 at 11:20 -0800, jenspetter...@gmail.com wrote:
> > > On Nov 9, 5:42 pm, smallpond <smallp...@juno.com> wrote:
> > > > The US DOS character set is CP437, which lists the spade character
> > > > as Unicode value dec 9824 / hex 2660.

>
> > > Seems I got my decimal and hex mixed up there
> > > But I still get the same message:

>
> > > Character #\u2660 cannot be represented in the character set
> > > CHARSET:ISO-8859-1

>
> > Just a guess, in my ~/.emacs I have:

>
> > * (setq current-language-environment "UTF-8")

>
> > ..also, at some point after loading Slime (after calling setup-slime), I
> > do:

>
> > * (setq slime-net-coding-system 'utf-8-unix)

>
> > ..but I'm using Debian, so might need some different values for Windows..

>
> I've pasted those into the the scratch buffer, and evaluated it, but I
> still get the same result. *I'll see what happens when I put them in
> the .emacs file though. (First I'll have to figure out where that is,
> or is expected to be, on windows.)


It seems that you must change the *terminal-encoding* only when
running your code without SLIME (directly from CLISP), but you always
need to set the *default-file-encoding*. I've tested this assumption
on Windows XP SP3 with CLISP 2.45.


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 11:35 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.