From: Michal Suchanek Date: 2009-01-15T20:18:54+09:00 Subject: Re: 10 things to be aware of in 1.8 -> 1.9 transition 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. Thanks Michal