Hi,

Am Dienstag, 10. Mai 2005, 07:34:30 +0900 schrieb Jason Foreman:
> On 5/9/05, Bertram Scharpf <lists / bertram-scharpf.de> wrote:
> > does this no longer work?
> > 
> > --------------------
> > #!/usr/bin/env ruby
> > # -*- coding: UTF-8 -*-
> > 
> > puts $KCODE
> > puts "?"
> > --------------------
> > 
> > I tried it with Ruby 1.8.2 and 1.9, Debian Linux.
> > What do I miss?
(Outputs "None" and "?".)
> 
> That didn't work for me under Windows.
> 
> Can you add -Ku to the shebang line?  That did work for me.

That's exactly the problem. Only the first of these both works:

    #!/usr/local/bin/ruby -Ku
    #!/usr/bin/env ruby -Ku

So, I came to
<http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-core/4192>.
But it doesn't seem to work here and I cannot find anything
in the source code.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de