Re: [libreoffice-users] [Win 5.1.6.2] Writer fails reading Win1252-encoded HTML document

2017-01-19 Thread libreoffice-ml . mbourne

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  section (ideally 
near the top*):



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  
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+unsubscr...@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


[libreoffice-users] [Win 5.1.6.2] Writer fails reading Win1252-encoded HTML document

2017-01-15 Thread Gilles
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?

Thank you.



--
View this message in context: 
http://nabble.documentfoundation.org/Win-5-1-6-2-Writer-fails-reading-Win1252-encoded-HTML-document-tp4205399.html
Sent from the Users mailing list archive at Nabble.com.

-- 
To unsubscribe e-mail to: users+unsubscr...@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