((%w(moin)*2).join ', ').capitalize+'!' # DRY principle.

Wolfgang, I wonder if it wouldn't be too tough to create a wrapper
program that stripped a BOM (if presnt) and passed the rest to the
real ruby. You could then associate this with the .rb extension, and
everything should work, right?

If it worked well enough, maybe this program should be named "ruby",
and the real ruby renamed to "_ruby.exe" or something, so that even
scripts that are invoked by the normal "ruby" name call the BOM-aware
entry point.

I agree that this should be fixed for real in ruby, but I figured I'd
talk about workarounds anyway.

-rking