On Sep 14, 2008, at 8:47 PM, Michael Selig wrote: > Sorry, I made a mistake in my previous mail. > > Should say: > Regexp.new("abc".encode("UTF-16BE")) > ==> EncodingCompatibilityError: incompatible character encodings: US- > ASCII and UTF-16BE > > Bug? Yes, I can confirm this behavior with the Ruby I built yesterday. I recommend you file it in Ruby's bug trackers. Now if Regexp is out for non-ASCII encodings, that's going to make them hell to support in CSV. I'm running out of good idea