View Single Post
Old 06-17-2015, 07:19 PM   #26
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,435
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
For HTML you want to leave input character encoding blank and put the correct encoding in the settings for the HTML2ZIP plugin. Or leave both blank and declare the html encoding correctly inthe html file itself using a <meta charset> tag.

If you wish to specify an encoding in both places, you specify the HTML file encoding in the HTML2ZIP plugin settings and utf-8 as the input character encoding.

The HTML2ZIP plugin reads in the HTML file using the encoding specified in its settings. It always results in an HTML file inside the zip file in utf-8.

So, one last time:

1) HTML2ZIP setting: cp1252
2) Input character encoding: blank
kovidgoyal is offline   Reply With Quote