On 2/14/07, Ian Macdonald <ian / caliban.org> wrote: > However, I'm still puzzled why there's a difference between irb and a > stand-alone script. Maybe your editor saves the script in UTF-8 format. The irb example clearly encodes the string in ISO-8859-1. That could explain the difference. -- Dave Balmain http://www.davebalmain.com/