@slowsmile: At first glance your code looks OK to me, but then again I'm not a programmer and might have missed something.
It might actually be a user error. For example, you can generate HTML files with LibreOffice via Export and Save as and both produce slightly different output.
@bravosx: If you haven't already sent test files via e-mail to slowsmile, please select a small Polish Public Domain text with a couple of headings, process it with LibreOffice and the latest version of the plugin (0.2.7) as usual and attach the .odt file, the exported/saved .html file and the raw epub file generated by the plugin.
Also indicate whether you used Save as or Export to generate the HTML file and give some specific examples of code page conversion issues (e.g., does it affect only file names in the Book Browser, TOC entries, metadata information or HTML content files).
|