From: James Gray Date: 2009-01-15T22:42:11+09:00 Subject: Re: 10 things to be aware of in 1.8 -> 1.9 transition On Jan 15, 2009, at 5:18 AM, Michal Suchanek wrote: > 2009/1/14 James Gray : >> On Jan 14, 2009, at 12:40 PM, David A. Black wrote: >> >>> Hi -- >>> >>> I know it's not usual to announce blog posts here, but I'm going to >>> indulge the impulse as the content of this one is something I might >>> have posted here anyway: >>> >>> >>> http://dablog.rubypal.com/2009/1/14/10-things-to-be-aware-of-in-moving-to-ruby-1-9 >>> >>> I'm finishing up "The Well-Grounded Rubyist" and am thinking of >>> writing an appendix with more or less this content, so I thought I'd >>> run it up the flagpole first. >> >> Double-check your examples in "Block variables scope." It looks >> like they >> may be cut off. >> >> I also think you need to add a section on this error, which seems >> very >> likely to be the first thing programmers encounter in the new m17n >> code: >> >> $ echo "Résumé" > utf8.rb >> $ ruby_dev utf8.rb >> utf8.rb:1: invalid multibyte char (US-ASCII) >> > > As a quick fix you can do > > $ ruby -KU utf8.rb > > but a guide summarizing the encoding features and possible problems > would be very helpful. Yeah, I've been working on such a guide: http://blog.grayproductions.net/articles/understanding_m17n I just haven't got to the 1.9 sections yet. I will eventually though… James Edward Gray II