On Wed, Nov 17, 2010 at 12:20 AM, Clifford Heath <no / spam.please.net> wrote:
> ruby --help lists -E, which doesn't seem to work as advertised,
> but not -K, which does what I wanted. Can someone please check
> that the source code and the help message coincide?

I'm not sure what you mean by work as advertised, but I would like to
note that the syntax for -E is different that of -K; it takes the full
encoding name, case-insensitive:

  ruby -Eutf-8:utf-8
  ruby -Eascii:utf-8

Does that do what you except?

Regards,
Ammar