View Single Post
Old 01-13-2017, 06:04 AM   #27
bravosx
Zealot
bravosx began at the beginning.
 
Posts: 106
Karma: 10
Join Date: Jun 2014
Location: Poland, Żory
Device: Prestigio PER3464B, Onyx Lynx, Lenovo S5000 i Tab4-8"
Quote:
Originally Posted by KevinH View Post
@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
bravosx is offline   Reply With Quote