Hi,

At Fri, 10 Oct 2008 18:04:54 +0900,
Yukihiro Matsumoto wrote in [ruby-core:19273]:
> I admit I once considered using magic comments, but unlike shehang
> line, which is ignored for library files, magic comments have their
> roles in the library files as well, so I conluded that it only leads
> to confusion, i.e. seeing
> 
>  # encoding: euc-jp:utf-8

It's not good for Emacs; -*- encoding: euc-jp:utf-8 -*- causes
an error.  Rather I'd prefer a separate magic comment, if it
will be introduced.

> in a library file does not set internal encoding at all, when
> developers naturally expect it to work, is far worse than being neat.
> I suggest putting -U in the shebang line instead.

Another issue, options in the shebang line can't live with env
trick.
# I dislike it, though.

-- 
Nobu Nakada