[r6rs-discuss] Stateful codecs and inefficient transcoding

Shiro Kawai shiro at lava.net
Tue Oct 31 19:46:02 EST 2006


From: John Cowan <cowan at ccil.org>
Subject: Re: [r6rs-discuss] Stateful codecs and inefficient transcoding
Date: Tue, 31 Oct 2006 19:07:35 -0500

> Shiro Kawai scripsit:
> 
> > Right.  In Gauche, we support mixing binary and textual I/O
> > natively in the port, while support transcoding by port layering.
> 
> How can you do textual I/O natively in the port if the port does
> not know what the encoding is?

We have the "default encoding" chosen at the compile time.
The basic port naively assumes the text is in that encoding.

--shiro




More information about the r6rs-discuss mailing list