Nick Bensema wrote:

# There would also have to be a way to tell what encoding
# the script itself is using; the #!ruby line might be useful for that.

Unfortunately there is a problem with adding parameters in such places
on some Unix systems, especially when you use the "#!/usr/bin/env ruby"
form of invocation. Then there are the Win32 cases....

Conrad Schneiker
(This note is unofficial and subject to improvement without notice.)