[plt-scheme] Entering unicode characters in the REPL?

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Jul 16 22:07:11 EDT 2008

On Jul 16, Grant Rettke wrote:
> Hi,
> 
> In v372 you could enter unicode characters directly into the REPL
> like this:
> 
> > \u2665
>
This is wrong -- backslash in symbols is used to quote characters that
otherwise would break the symbol, like foo\ bar, so the above is the
same as just entering `u2665'.


> The docs (doc/guide/strings.html) say you can still do this in 4.x,
> but when I try it in 4.0.2 in module I mode I get the error:
> 
> reference to an identifier before its definition: u2665
> 
> > (display "\u2665") ; This way still works
>> 
> Which one is right? (or what did I do wrong?)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.