PDA

View Full Version : UTF8 and ByteOrderMark (BOM)



SidGBF
18th August 2008, 22:11
Hi, how to save a file in UTF but with BOM? Without it i getting trouble in another application

jacek
18th August 2008, 22:25
BOM isn't necessary for UTF-8, so Qt won't add it, but you can simply prepend it to your file contents as a normal character (you can get it with "QChar( QChar::ByteOrderMark )").