Is not working. How to save a file in UTF-8 with BOM.Qt Code:
To copy to clipboard, switch view to plain text mode
Is not working. How to save a file in UTF-8 with BOM.Qt Code:
To copy to clipboard, switch view to plain text mode
what exactly is BOM?
My program generates a HTML file in UTF-8 format. I want to later edit this file in notepad++, but it must be in UTF-8 with BOM. This will allow me on Polish characters.
do you get the correct encoding disregarding the BOM?
can you put the BOM in manually?
You are maybe looking for QTextStream::setGenerateByteOrderMark
Alan_K (19th March 2011)
That's it. Works, thanks.
Bookmarks