On Wed, 17 Sep 2008 12:55:42 +1000, Yukihiro Matsumoto  
<matz / ruby-lang.org> wrote:

> You can specify mode by keyword argument:
>
> ruby -v -E UTF-16BE -e "IO.readlines('/tmp/xx', mode: "rb")"

Thanks - I didn't know that.

But I still do not understand what the "b" is actually doing? Why is it  
needed here?

Mike