View Single Post
Old 01-06-2020, 07:48 AM   #48
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by lonegunman View Post
Hi all,
I use this plugin with italian language books because he can collect tags in italian language (cool)

btw I had a problem with diacritics in authors name, the UTF-8 was not correctly send in quesy string ie. Roberto Bolaño was sent as u'Roberto Bola\xf1o' and return no resoults

Running identify query with parameters:
{u'authors': [u'Roberto Bola\xf1o'], u'identifiers': {u'isbn': u'9788845922084'}, u'timeout': 30, u'title': u'2666. La parte dei critici-La parte di Amalfitano-La parte di Fate'}

same query (with n instead of ñ) Roberto Bolano whorks like a charm

obviously same problem witho other diacritics èéòà etc.

how could I fix it to send drom worker to init the correct utf-8 author string (my python is very very poor, I can only print hello worl )
The attached beta should fix this. For some reason I encoded the title but not the author. The attached beta should fix this.

The beta also includes the changes for anyone running the calibre Python 3 beta. I think I got everything.
Attached Files
File Type: zip KoboBooks-beta.zip (8.8 KB, 969 views)
davidfor is offline   Reply With Quote