Excerpts from Gaute Hope's message of 2013-08-15 18:39:45 +0200: > Excerpts from Gregor Hoffleit's message of 2013-08-15 18:21:43 +0200: > > Sup 0.14 fails for me just after the start with the following exception: > > > > --- Encoding::UndefinedConversionError from thread: load threads for > > thread-index-mode > > "\xE2" from ASCII-8BIT to UTF-8 > > /var/lib/gems/1.9.1/gems/sup-0.14.0/lib/sup/util.rb:259:in `width' > diff --git a/lib/sup/util.rb b/lib/sup/util.rb > index 5cff6fa..4579a38 100644 > --- a/lib/sup/util.rb > +++ b/lib/sup/util.rb > @@ -256,7 +256,7 @@ end > > class String > def display_length > - @display_length ||= Unicode.width(self, false) > + @display_length ||= Unicode.width(self.fix_encoding, false) > end > > def slice_by_display_length len
Created pull request #128, please test if you have the chance. https://github.com/sup-heliotrope/sup/pull/128 Regards, Gaute _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel