Quote:
Originally Posted by KevinH
@bravosx
When LibreOffice exports an html file, does it properly set the charset encoding in the text file?
In other words, if you look at the html before importing it, do you see the following line anywhere in the head tag:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Obviously with potentially other names for the encoding used. If so, what does it say for your problem file before it gets imported into Sigil directly or via this plugin?
KevinH
|
@KevinH
If LibreOffice set your system Tools tab>Options>Load/Save >HTML Compatibility. In the Character set dropdown select UNICODE (UTF-8) and save this line looks like this:
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
However, if the options change to Western European (Windows-1252 / WinLatin 1) this is the same line looks like this:
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
and then the Polish characters are displayed properly.
bravosx