From: Idan Miller Date: 2008-03-06T00:00:05+09:00 Subject: Re: Unicode strings in ruby code What does this line do? It works with a fresh notepad as well. On 29 פברואר, 23:25, Wolfgang Nádasi-Donner wrote: > Justin Collins wrote: > > Idan Miller wrote: > >> Desktop/test.rb:1: undefined local variable or method `∩╗┐' for > >> main:Object (NameError) > > I think you might still be having issues with how your editor is saving > > the file. Try creating a fresh test file with something like Notepad and > > see if you have the same problems. > > If you start the utf-8 encoded file with BOM with the following line... > > =nil > > .., Ruby 1.8 will have no problems. > > Wolfgang Nádasi-Donner > -- > Posted viahttp://www.ruby-forum.com/.