Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#127 bug in string-upcase for char 255

lisp error
closed-invalid
Sam Steingold
clisp (525)
5
2002-08-30
2002-08-30
p g
No

> (string-upcase (make-string 1 :initial-element
#\LATIN_SMALL_LETTER_Y_WITH_DIAERESIS))

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

> (lisp-implementation-version)
"2.28 (released 2002-03-03) (built 3226937962) (memory
3226950738)"

Discussion

  • Sam Steingold
    Sam Steingold
    2002-08-30

    • status: open --> closed-invalid
     
  • Sam Steingold
    Sam Steingold
    2002-08-30

    Logged In: YES
    user_id=5735

    this is not a bug.
    the problem is with your *terminal-encoding* which is set to
    an encoding which cannot display the character you requested.
    try
    (setq *terminal-encoding* charset:utf-8)
    (string-upcase (make-string 1 :initial-element
    #\LATIN_SMALL_LETTER_Y_WITH_DIAERESIS))
    read <http://clisp.cons.org/impnotes.html#term-enc>