From: Charles Oliver Nutter Date: 2008-04-24T06:11:12+09:00 Subject: Re: String#chop chops last byte, not char Evgeni Belin wrote: > This is happening in ruby 1.8.6: In Ruby 1.8.6, character == byte basically everywhere. You'll need to use a regex to remove the last character safely (UTF-8). - Charlie