|
|
#1 |
|
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
|
Title string in mobi format with accented characters
Hi All!
I'm converting my recipe with the following command line: Code:
ebook-convert x.recipe x.mobi \ --output-profile kindle\ --smarten-punctuation\ --title "Élet és Irodalom" \ --preserve-cover-aspect-ratio -vv Is it a bug? Thanks in advance! |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,604
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
specify the title in the recipe, not on the command line. Reading non ascii characters from command lines is a black art.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
|
Did try it with:
Code:
$ grep 'Élet' X.recipe
title = "Élet és Irodalom"
description = "Élet és Irodalom"
$ ebook-convert X.recipe X.mobi \
--smarten-punctuation \
--output-profile kindle \
--mobi-ignore-margins \
--enable-heuristics \
--pretty-print \
--test \
-vv | tee estitledebugconv.log
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,604
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Make sure your recipe is encoded in utf-8 and has declared its encoding at the top, like this
# -*- coding: utf-8 -*- |
|
|
|
|
|
#5 |
|
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
|
I did try it dear Kovid (and thanks for your answer).
Here is the debug.log: https://gist.github.com/816107 And my recipe: https://gist.github.com/816113 The encoding is set to utf-8 (checked it via: set encoding? in Vim). Command line: Code:
ebook-convert es.recipe es.pdf \ --smarten-punctuation \ -vv \ --debug-pipeline debugdir \ --pretty-print \ --test |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,604
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open your mobi file in the calibre ebook viewer and click the show metadata button, see if the title is correct.
|
|
|
|
|
|
#7 |
|
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
|
Tried that: ebook-viewer.exe (I'm on windows for 10 hours :-( ) shows the correct title ("Élet és Irodalom").
|
|
|
|
|
|
#8 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,604
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You're probably suffering from this issue http://bugs.calibre-ebook.com/ticket/8229
|
|
|
|
|
|
#9 |
|
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: Dec 2010
Device: Kindle 3 Wifi only
|
As I converted the recipe to PDF, the same error occured. Anyway, waiting for the fix - and thanks for your answer & work!
|
|
|
|
|
|
#10 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,604
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Stick a u in front of the title string
Code:
title = u"Élet és Irodalom" |
|
|
|
![]() |
| Tags |
| conversion error, string, title, utf-8 |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sorting with accented characters | chaley | Calibre | 20 | 12-11-2010 07:14 AM |
| Kindle/Mobi support for accented characters | guiyoforward | Calibre | 1 | 08-29-2010 10:28 PM |
| Accented characters on PRS-505 | gandalfbp | Calibre | 4 | 04-19-2010 07:48 AM |
| PRS-500 Accented characters onto reader using Mac | squiggle8 | Sony Reader Dev Corner | 9 | 12-06-2007 04:01 PM |
| Accented characters | bingle | Sony Reader | 7 | 07-25-2007 06:36 AM |