From: Adam Prescott Date: 2010-11-04T01:04:36+09:00 Subject: Re: UTF-8 aware chop for 1.8? --0015174c43d2783353049428328a Content-Type: text/plain; charset=UTF-8 I was going to say >> $KCODE="U" => "U" >> s = "one two three" => "one two three" >> s.gsub(/^(.+)./u) { $1 } => "one two thre" I guess I overthought it, huh! On Wed, Nov 3, 2010 at 3:38 PM, Ammar Ali wrote: > Ended up making my own. Posting it here for the benefit of others, and > maybe some feedback. > > https://gist.github.com/661217 > > Regards, > Ammar > > --0015174c43d2783353049428328a--