Hi,

At Fri, 24 Oct 2008 23:00:27 +0900,
James Gray wrote in [ruby-core:19481]:
> > I work on TextMate and we use Ruby all over the place inside that  
> > application.  I'm sure we have hundreds of scripts in there.  We try  
> > hard to make sure everything in TextMate is UTF-8, so now we get  
> > errors out of Ruby 1.9.  To fix, we need to add hundreds of magic  
> > comments and worse, train our users who often write their own  
> > automations in Ruby why they have to do the same to make their code  
> > work.
> 
> The real issue here is that you can argue the user doesn't even know  
> the proper encoding these scripts should be using.  Only TextMate  
> really knows the encoding it's going to hand-off the data in.

Though I don't know about TextMate at all, ruby-mode.el in 1.9
deals with magic comments automatically.

-- 
Nobu Nakada