Menu

#31 internationalization problem

lisp error
closed
clisp (524)
5
2001-04-09
2001-04-09
Anonymous
No

Hello!

For clisp-2.25 (installed without problems with
gcc-2.95.3):

$ clisp -q -norc

[1]> (machine-instance)
"sylla [137.129.xxx.xxx]"
[2]> (machine-version)
"SUN4US"
[3]> (quit)
$ clisp -q -norc

[1]> (/ 0)

*** - division by zero
1. Break [2]> (quit)
$ clisp -q -norc -L francais

[1]> (/ 0)

*** - Message inimprimable
1. Break [2]> (quit)
$ clisp -q -norc -L deutsch

[1]> (/ 0)

*** - Division durch Null
1. Break [2]> (quit)
$ clisp -q -norc -L spanish

[1]> (/ 0)

*** - invalid byte #xF3 in CHARSET:UTF-8 conversion,
not a Unicode-16
1. Break [2]> (quit)
$

The problem seems to be triggered by messages
containing accented letters.
Any hint ?

Regards.

--

Bernard Urban

Discussion

  • Sam Steingold

    Sam Steingold - 2001-04-09
    • milestone: --> lisp error
    • assigned_to: sds --> haible
     
  • Sam Steingold

    Sam Steingold - 2001-04-09

    Logged In: YES
    user_id=5735

    I also observe this on a solaris xterm.
    Bruno, could you please look at this?
    Thanks!

     
  • Bruno Haible

    Bruno Haible - 2001-04-09

    Logged In: YES
    user_id=5923

    For using german, french or spanish, you need to be in a
    locale
    that supports ISO-8859-1 characters, i.e. whose encoding is
    either ISO-8859-1 or UTF-8. Example:

    $ LANG=es_ES clisp -q -norc -L spanish
    [1]> (/ 0)

    *** - divisin entre cero

     
  • Bruno Haible

    Bruno Haible - 2001-04-09
    • status: open --> closed
     
  • Sam Steingold

    Sam Steingold - 2001-04-12

    Logged In: YES
    user_id=5735

    1) make distclean in the CLISP directory.
    2) cd libiconv
    ./configure --disable-shared
    make
    make install
    make distclean
    3) set the environment variables
    CPPFLAGS=-I/..../include so that it will find <iconv.h>
    LDFLAGS=-L/..../lib so that it will find libiconv.a
    and export them
    Here "...." is the path where the previous
    make install
    installed the files iconv.h and libiconv.a
    4) back to CLISP main directory
    ./configure
    and continue as usual

    also:
    Look at the value of *terminal-encoding*.
    Is it CHARSET:ASCII? Under "fr" or "de" it should be
    CHARSET:ISO-8859-1 or CHARSET:UTF-8.

     

Log in to post a comment.