Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2015, 02:07 PM   #1
Ghitulescu
Evangelist
Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'
 
Posts: 488
Karma: 150782
Join Date: Aug 2014
Device: PRS-T1
Strange behaviour

I noticed that Calibre "forgets" a descriptive line from the header when splitting an HTML file into two.

Code:
 <meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type"/>
Is this related to the fact that the file itself is an HTML and not an XHTML one? That line comes from a commercial book BTW.

Thanks for clarifying.
Ghitulescu is offline   Reply With Quote
Old 06-16-2015, 05:47 AM   #2
Ghitulescu
Evangelist
Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'Ghitulescu gives new meaning to the word 'superlative.'
 
Posts: 488
Karma: 150782
Join Date: Aug 2014
Device: PRS-T1
The same thing also happens with xhtml files.

Which brings me to the conclusion that calibre thinks this line is superfluous.
Ghitulescu is offline   Reply With Quote
Advert
Old 06-16-2015, 05:57 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,923
Karma: 12784233
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It is superfluous since the default encoding for HTML in epub/azw3 files is defined as utf-8 --which means that when charset is not declared, it *must* be assumed to be utf-8.

And the calibre editor guarantees that edited HTML files are always saved as UTF-8, regardless of the encoding of file originally.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T2 Strange Wi-fi behaviour mediax Sony Reader 13 06-10-2013 02:31 PM
PRS-T1 Strange T1 behaviour .... carpetmojo Sony Reader 3 03-24-2012 04:55 AM
calibredb strange behaviour webwizard Library Management 9 04-17-2011 11:17 AM
Strange behaviour with PDFs timlegge Kobo Reader 3 06-24-2010 11:53 PM
Strange Behaviour poshm PocketBook 9 12-31-2009 10:39 AM


All times are GMT -4. The time now is 01:37 PM.


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