Carlos
3/17/2005 2:07:00 PM
[Peter C <pkchau@gmail.com>, 2005-03-15 18.59 CET]
> I'm working with Japanese character sets in Windows. I can save my
> *.rb files with notepad using UTF-8 but I can't run them with Ruby.
> This is what happens when I try to run it.
>
>
> c:\> ruby -Ku myFile.rb
> jpn.rb:1: undefined method `' for main:Object
> (NoMethodError)
>
>
> Am I doing something wrong?
Probably you forgot to put quotes, or #, somewhere...
If you show us jpn.rb, or at least its first line, we can help you better.