update: can you pass the SRFI-56 challenge? Alex Shinn (16 Aug 2005 03:06 UTC)
Re: update: can you pass the SRFI-56 challenge? Shiro Kawai (16 Aug 2005 06:20 UTC)
Re: update: can you pass the SRFI-56 challenge? Alex Shinn (17 Aug 2005 05:27 UTC)
Re: update: can you pass the SRFI-56 challenge? David Van Horn (16 Aug 2005 17:58 UTC)
Re: update: can you pass the SRFI-56 challenge? Matthias Radestock (18 Aug 2005 17:23 UTC)
Re: update: can you pass the SRFI-56 challenge? Alex Shinn (18 Aug 2005 23:27 UTC)
Re: update: can you pass the SRFI-56 challenge? Matthias Radestock (19 Aug 2005 07:25 UTC)

Re: update: can you pass the SRFI-56 challenge? Matthias Radestock 19 Aug 2005 07:25 UTC

Alex Shinn <xxxxxx@gmail.com> writes:

> On 8/19/05, Matthias Radestock <xxxxxx@sorted.org> wrote:

> I was using SISC's binary I/O procedures assuming that would make
> read-char etc. behave on octet values (Latin-1).  This was necessary
> to pass the integer tests, which failed before.  Is this the wrong approach?
> I don't see how the integer tests could have passed if read-char was
> assuming any other encoding.

Alex,

SISC will use whatever encoding Java thinks is the default encoding for
your platform, unless you override that. If your default encoding is
Latin-1 then read/write-char may indeed do what you expect, but for most
other encodings it will probably break.

Matthias.