From: Ammar Ali Date: 2010-11-17T21:40:45+09:00 Subject: Re: Ruby 1.9.2 commandline options On Wed, Nov 17, 2010 at 2:10 PM, Clifford Heath wrote: > No, it still complains "invalid multibyte char (US-ASCII)" on > a valid UTF-8 character, in a UTF-8 file having no Unicode BOM. AFAIK, BOM is not required for UTF-8 so it should work. Can you isolate and post the offending line? > The square brackets imply that the internal encoding is optional. Yes, it is optional. I only specified both encodings as an example. > Why is -K not listed in --help? Especially since it's the option > that seems to actually work... man ruby does list -K. Another option that is not listed in -h is -U, which sets internal encoding to utf-8. Regards, Ammar