Closed GoogleCodeExporter closed 9 years ago
Thanks for the very detailed bug report, it really helps to have all the
details up front.
The HTML output is UTF8. I've tried several of these and they all looked fine
when the browser encoding is set to UTF8.
You can set your default encoding in Firefox in Tools-> Options-> Content->
Fonts & Colors-> Advanced-> Default Character Encoding. I find UTF8 a better
choice these days.
The only oddity I see is that calibre injects:
<meta content="http://www.w3.org/1999/xhtml; charset=utf-8"
http-equiv="Content-Type"/>
...into the html.
I would have thought:
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> or
<meta content="application/xhtml+xml; charset=utf-8" http-equiv="Content-Type"/>
...would be more correct.
Adding a Content-Type line to the HTML before it's given to calibre doesn't
seem to make any difference--calibre replaces it.
I've opened a bug against calibre regarding the content-type:
https://bugs.launchpad.net/calibre/+bug/995553
I'll leave this issue open for the time being so I can update it with the
response from the calibre bug report.
Original comment by retiefj...@gmail.com
on 6 May 2012 at 5:19
Thank you. I had tried a few ways to force the browser to use UTF-8. It seems I
was doing it the wrong way.
Original comment by daniel.h...@gmail.com
on 6 May 2012 at 5:31
Kovid's quick!
https://bugs.launchpad.net/calibre/+bug/995553
> Fixed in branch lp:calibre. The fix will be in the next release. calibre
> is usually released every Friday.
>
> status fixreleased
>
> ** Changed in: calibre
> Status: New => Fix Released
Original comment by retiefj...@gmail.com
on 6 May 2012 at 6:05
Original issue reported on code.google.com by
daniel.h...@gmail.com
on 6 May 2012 at 5:48Attachments: