scsh-users
[Top] [All Lists]

Re: run/sexp doesn't support non-ascii characeters?

To: William Xu <william.xwl@gmail.com>
Subject: Re: run/sexp doesn't support non-ascii characeters?
From: Michael Sperber <sperber@informatik.uni-tuebingen.de>
Date: Fri, 06 Oct 2006 14:57:19 +0200
Cc: scsh-users@scsh.net
List-id: <scsh-users.list-id.scsh.net>
William Xu <william.xwl@gmail.com> writes:

> Hi all, 
>
> Seems run/sexp is unable to handle to non-ascii characters? 

Well, scsh generally is not Unicode-capable, so it doesn't natively
know about, say Chinese.

>> (run/sexp (echo "中国"))
>
> Error: illegal character read
>        #\ä
>        #{Input-fdport #{Input-channel 3}}

This, however, means that your input terminal is sending the wrong
byte sequence inside the quotes to scsh, probably one containing a "
or a \ character.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
<Prev in Thread] Current Thread [Next in Thread>