Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 08-13-2011, 03:39 AM   #1
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Dec 2010
Device: kindle
Non-ASCII characters in recipe titles show as ü

Any recipe title that contains non-ASCII characters, e.g. sueddeutsche.recipe or mesec.recipe, displays like Süddeutsche, both in my kindle and in the browser when I load it with ebook-convert. No matter how I encode the title, the result is still the same. This has always been like that. Could this be fixed please?
bubak is offline   Reply With Quote
Old 11-27-2011, 06:12 PM   #2
bubak
Connoisseur
bubak began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Dec 2010
Device: kindle
Am I the only one with this problem? Or is there anything I'm missing? Non-ASCII letters still show up as funny characters.
bubak is offline   Reply With Quote
Advert
Old 11-30-2011, 07:49 AM   #3
tylau0
Connoisseur
tylau0 began at the beginning.
 
Posts: 82
Karma: 10
Join Date: Oct 2010
Device: Kindle
No. You are not alone. Check this.
A possible workaround is to customize the recipe. Assign the "cover_url" attribute of your recipe with the image URL of your choice. The cover image will then be the image specified in the URL rather than the default cover. For example,

Code:
class MyRecipe(BasicNewsRecipe):
    ....
    cover_url = 'http://www.somesite.com/image.jpg'
    ....
Alternatively, you may override the get_cover_url(.) method of the class.

Code:
class MPRecipe(BasicNewsRecipe):
    ....
   def get_cover_url(self):
        cover =  'http://www.somesite.com/image.jpg'
        br = BasicNewsRecipe.get_browser()
        try:
            br.open(cover)
        except:
            cover = None
        return cover
    ....

Last edited by tylau0; 11-30-2011 at 07:57 AM.
tylau0 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
advanced text search and non-ascii characters msz59 General Discussions 0 05-05-2011 09:47 AM
non-ASCII characters show up as question marks on my Reader (from FAQ) Candoumi Sigil 2 04-07-2011 08:44 PM
Typing non-ASCII characters with the keyboard Edmundo Amazon Kindle 5 01-20-2011 01:18 PM
Is it possible to sent books to device with filename in non-ascii characters? flyisland Calibre 8 10-16-2010 05:35 AM
Book titles show up with Bad characters Imatechie2006 Calibre 0 01-20-2010 06:18 PM


All times are GMT -4. The time now is 03:54 AM.


MobileRead.com is a privately owned, operated and funded community.