From: "Wolfgang Nádasi-Donner" Date: 2007-11-10T18:09:25+09:00 Subject: Re: IO.read, IO#read (and similar methods) - Length Parameter Usage for Non One-Byte Encodings David Flanagan schrieb: > Matz has said (off-list) that any methods that take length parameters > interpret those as bytes, and return binary (ascii) strings, ignoring > the primary encoding (and also ignoring the encoding specified when the > file was opened). Only to clarify and to avoid misunderstandings: This does mean, that the rad parts can be ill-formed character sequences in respect to the original data encoding in the file, and the user has to take care about correct usage!(?) In addition it means, that the user has to take care about starting and ending of characters, when reading very large files in several pieces of data!(?) Wolfgang N��dasi-Donner