[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] [PATCH] utf-8 script encoding



Excerpts from Michael Hamann's message of 2010-02-13 14:51:53 +0100:
> Hi,
> 
> Excerpts from William Morgan's message of 2010-01-23 13:44:39 +0100:
> > Reformatted excerpts from Gaute Hope's message of 2010-01-03:
> > > No. Tab completion fails, and sending fails, I can add names with
> > > UTF-8 chars to the recipient list, but it fails with the last attached
> > > exception. This is the same behaviour as earlier.
> > 
> > That's weird, I would've expected this to help. What's the alternative,
> > adding "u" to the end of every regexp?
> 
> Has there been any progress on this subject? This is imho a quite annoying bug
> as it makes me regularly recover mails from the buffer of screen when having
> written a reply to a message with a subject containing utf-8 chars without
> noticing that.
> 
> Sorry if this should have been fixed already, I'm currently using git next and
> there the problem still exists.
> 

I put target.force_encoding 'UTF-8' on the tab completion of contacts
and labels and that seems to have fixed the issue 36 on Ruby 1.9. See
attached patch; or:
http://gitorious.org/sup/gautehs-mainline/commit/c78e53f13b493afe2ce13c8f312068fe042cd126

- gaute

Attachment: 0001-Force-UTF-8-on-label-and-contact-completion.patch
Description: Binary data