Jan Egil Hagen <·····@nntp.ifi.uio.no> writes:
< I am confused about the behavior of code-char and char-code.
< According to the HyperSpec, (code-char (char-code c)) is supposed to
< return c. But Allegro CL Trial Edition 5.0 behaves like this:
<
< (code-char (char-code #\newline))
< => #\newline
< (code-char (char-code #\�))
< => #\%x
It will print how you expect when you change the result into a string.
(string (code-char (char-code #\�))) => "�"