View Single Post
Old 12-12-2010, 10:26 AM   #89
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Bertrand View Post
Thanks for your quick answer.

Here's the title, with accented letters : De l'inconvénient d'être né
Right, so chucking that at Amazon and you can see that it translates all those accented characters, so for instance é becomes "%E9".

I also am not a Python person (just figured enough out to get by), nor am I an expert on encoding URLs. I'll have a google later if I find the time unless some guru on either of the above can pick up and suggest a "generic" way to correctly convert such text to the encoded version. There is possibly some function or simple algorithm for doing it but I have no clue without further investigation.
kiwidude is offline