From: "RadosÅ‚aw BuÅ‚at" Date: 2009-03-27T21:37:49+09:00 Subject: Re: Ruby 1.9 # coding: utf-8 On Fri, Mar 27, 2009 at 1:05 PM, Damjan Rems wrote: > > I am trying some ruby 1.9. taste for the first time and I have got to > this new behaviour. Since my location is in Estern Europe, most of my > source files are coded in utf-8. I have found out that I should use # > coding: utf-8 if I want to omit nasty "rubyArchiveTesti.rb:82: invalid > multibyte char (US-ASCII)" error. > > Where can I set that all my source files are encoded in utf-8, since I > don't like the idea of editing them all. You should get to like it. It's only *1* line per file. Image that someone with differencts locale wants to use your file. He shoulnd't care what encoding did you use. If you are too lazy to write it by habd you can write some script which do that for you ;). -- Pozdrawiam Rados³aw Bu³at http://radarek.jogger.pl - mój blog