From: Yukihiro Matsumoto Date: 2006-06-29T09:06:01+09:00 Subject: Re: Unicode roadmap? Hi, In message "Re: Unicode roadmap?" on Thu, 29 Jun 2006 03:53:52 +0900, Izidor Jerebic writes: |Oh, really? So it is OK for this code to sometimes receive binary |String and sometimes String with encoding: |io = SomeIO.open( .... ) |v = io.read( 1000 ) No, as I said before, reading with length specified shall always return binary strings, since it counts in bytes, whereas gets, readline etc. would return encoded strings. matz.