https://bugs.freedesktop.org/show_bug.cgi?id=82644
Priority: medium
Bug ID: 82644
Assignee: [email protected]
Summary: FILESAVE Writes invalid UTF-16 CSV file, uses single
byte tabs
Severity: major
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: All
Status: UNCONFIRMED
Version: 4.3.0.4 release
Component: Spreadsheet
Product: LibreOffice
Created attachment 104648
--> https://bugs.freedesktop.org/attachment.cgi?id=104648&action=edit
Tiny example file which demonstrates the bug if opened and resaved.
Libreoffice Calc is writing an invalid UTF-16 CSV file, which looks like
garbage when viewed in any text editor. This is because it is writing tabs as
single '09' bytes instead of '09 00' 16-bit characters.
Steps to reproduce:
Create a tab-separated text file which is encoded in UTF-16 with BOM.
Open it in Calc
Edit some text
Save the file
File is now corrupt, instead of writing 16-bit characters for tabs, it wrote
single 09 bytes instead, despite that the rest of the text file was saved
properly. It can still be repaired with a hex editor by replacing 09 bytes
with 09 00.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs