4
In LibreOffice, if I save a document as file type "encoded text" and select "Unicode (UTF-8)" as the encoding, it always writes a byte order mark (BOM) at the start of the text. It does this even when exporting text that started out with no such mark (such as imported ISO-8859-8 text). Is there a way to suppress the generation of the BOM?
According to the Unicode docs: "Where UTF-8 is used transparently in 8-bit environments, the use of a BOM will interfere with any protocol or file format that expects specific ASCII characters at the beginning". This is exactly the problem I'm running into, as the text is going to be fed to a program that does not expect an initial BOM.
Good to know that this is finally being addressed. The BOM is useful for UTF-16 encoding, but has no value and should be removed for UTF-8 exports. I noticed this comment in the bug report thread: "I agree with this. But currently we have very few developers. This may take several years. Sorry for such situation." It's going on seven years, so whoever made that comment is apparently a good estimator. :) – Ted Hopp – 2018-03-09T20:49:50.107