hey, When String.display_length was introduced in recent update, it broke the length for non-UTF8 strings that contain the special characters. Wrong length results corrupted display (line ends chopped off).
Terminal is iso-8859-15 and it's detected by sup correctly. I've tracked it down to /./u regexp. Here are some examples: irb(main):001:0> "asd".scan(/./u) => ["a", "s", "d"] irb(main):002:0> "asdõüäö".scan(/./u) => ["a", "s", "d", "\365\374\344\366"] irb(main):017:0> "asdõõõ".scan(/./u) => ["a", "s", "d"] irb(main):008:0* "asd".scan(/./) => ["a", "s", "d"] irb(main):009:0> "asdõüäö".scan(/./) => ["a", "s", "d", "\365", "\374", "\344", "\366"] Expecting UTF8 gives unexpected results :) Also, old behaviour of String.length gives correct results with these test cases. -- tarko _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk