From: Bertram Scharpf Date: 2005-05-10T14:23:52+09:00 Subject: Re: Still umlauts Hi, Am Dienstag, 10. Mai 2005, 07:34:30 +0900 schrieb Jason Foreman: > On 5/9/05, Bertram Scharpf 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 . 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