From: Gregory Brown Date: 2008-09-18T08:36:15+09:00 Subject: Re: get a portion of a utf8 encoded string On Tue, Sep 16, 2008 at 4:50 AM, Peña, Botp wrote: > From: S2 [mailto:sto.giocando@motor.storm] > # thanks. even if 'hällo'[0, 2] looks better > > upgrade? It concerns me that people are suggesting using various backwards incompatible changes in Ruby 1.8.7 Though 1.8.7 may be a good fallback for 1.9 only libraries that may make things work as expected, I hate the idea of writing code that works on 1.8.7 but not other versions of Ruby 1.8. At this point, I feel like 1.8.6 is still the 'real' Ruby 1.8, anyway. -greg -- Technical Blaag at: http://blog.majesticseacreature.com | Non-tech stuff at: http://metametta.blogspot.com