From: Edward Middleton Date: 2009-12-28T10:30:31+09:00 Subject: Re: ruby 1.9 hates you and me and the encodings we rode in on so just get used to it. Brian Candler wrote: > DJ Jazzy Linefeed wrote: > >> compare.rb:64:in `gsub': broken UTF-8 string (ArgumentError) >> > > Yep. Ruby 1.9 will raise exceptions in all sorts of odd places, > dependent on both the tagged encoding of the string *and* its content at > that point in time. > If you don't arbitrarily set the encoding, when will this be a problem? Edward