Gilles wrote:
Hello
I wrote an HTML document using an older release of Nano WebEditor. I guess
it saves data as Win1252 instead of UTF8.
When opening the file in LibreOffice, all the accents are messed up:
https://s29.postimg.org/iicxnws1z/Libre_Office_Writer_How_to_convert_from_Win1252_t.jpg
Any idea what I could try when opening the file, or afterwards?
You need a tag in the HTML code declaring the character set used,
otherwise LibreOffice seems to assume UTF-8. I don't know if Namo
WebEditor provides a dialog or other GUI to add the necessary tag, but
you need something like the following within the <head> section (ideally
near the top*):
<meta http-equiv="content-type" content="text/html; charset=Windows-1252">
If there's already a similar line, perhaps with the charset part missing
or incorrect, edit that line.
LibreOffice doesn't seem to recognise the HTML5 <meta charset="...">
style, so if you're currently saving the page as HTML5 it might be worth
trying HTML4 and Namo might add the appropriate tag for you.
Hopefully that helps.
--
Mark.
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.