https://bugs.documentfoundation.org/show_bug.cgi?id=120067

Michael Warner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #6 from Michael Warner <[email protected]> ---
The three bytes that are inserted at the beginning of the converted file: 
   ef bb bf 

Are the Unicode Byte Order Mark for UTF-8. 

You can explicitly specify whether you want it there or not by providing
options to the text output filter. For example:

   libreoffice --convert-to "txt:Text (encoded):UTF8"  text.odt

will include the BOM, and:

   libreoffice --convert-to "txt:Text (encoded):ASCII" text.odt

will not include the BOM.

When I follow the STR but explicitly specify ASCII encoding, I receive the
exact bytes as in the original text file, no BOM. 

It is a bit odd that it defaulted one way for Linux and another way for
Windows, but there is probably some good reason for that, too. So, I think this
should be resolved as either NOTABUG or WONTFIX.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to