Hi,

In message "Re: io.c patch for two encodings in file mode"
    on Sun, 23 Dec 2007 10:36:08 +0900, Tanaka Akira <akr / fsij.org> writes:

|> The attached patch adds support for filemodes like "r:utf-8:iso-8859-15" 
|> to io.c.  Works for reading and writing.  Also, it adds the 
|
|The conversion should be done before searching a terminator.

Very hackingly fixed, by converting RS to the external encoding.  It
may not work right for some encoding, such as ISO-2022-JP though.  I
will revisit the issue again, after the release.

							matz.