Thread: LRF output
View Single Post
Old 06-20-2008, 04:35 PM   #712
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: 45,364
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Unfortunately, there's no simple answer to this. The problem is that html2lrf has to guess what encoding commandline arguments are passed to it in. The encoding it uses depends on a lot of factors, including the OS its localization, the file systems preferred encoding, blah blah. The safest thig to do is to write your metadata into a nice UTF-8 encoded OPF file in the same directory as the html file. html2lrf will then pick up the metadata from there.
kovidgoyal is offline   Reply With Quote