Is not working. How to save a file in UTF-8 with BOM. :confused:Code:
Printable View
Is not working. How to save a file in UTF-8 with BOM. :confused:Code:
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
That's it. Works, thanks. :p