[Tellico-users] Bug 237618 in allocine fetcher

Robby Stephenson robby at periapsis.org
Fri Jun 11 05:16:58 UTC 2010


On Sunday 30 May 2010, Robby Stephenson wrote:
> On Saturday 29 May 2010, Mathias Monnerville wrote:
> > Hi,
> > 
> > 2010/5/29 Robby Stephenson <robby at periapsis.org>:
> > > Did you want me to commit my patch as well, to allow searching
> > > without accent marks? Right now, the allocine unit test doesn't pass
> > > for me with just your patch. Does searching for "Opération tonnerre"
> > > work for you?
> > 
> > Yes. I made several successful tests with accent marks. The
> > "Opération tonnerre" search does work for me.
> 
> So I guess the question is basically how to allow both utf-8 and non-utf8
> (latin-1) to be used for the search parameter, right? Since you're using
> utf8 on your system, it works for you, where it won't for me, since I'm
> using latin-1. Maybe some sort of try clause for converting to unicode,
> similar to what you had?

What do you think about the attached patch? It should allow the stdin input 
to be in any encoding...

Robby

-------------- next part --------------
A non-text attachment was scrubbed...
Name: allocine-unicode-encode.diff
Type: text/x-patch
Size: 1462 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20100610/52e917f0/attachment.diff>


More information about the tellico-users mailing list