From: Aisha Fenton Date: 2010-09-08T20:29:52+09:00 Subject: Re: Regex breaks when string contains binary data $KCODE is set to "UTF8", and my RUBYOPT env variable is set to "rubygems". Hmmm could be the problem. I haven't really got my head around Ruby's String encoding, might be time. -- Posted via http://www.ruby-forum.com/.