https://bugs.freedesktop.org/show_bug.cgi?id=44291
Bug #: 44291
Summary: Garbage bytes prepended to text files from database
queries
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.5.0 Beta2
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: UNCONFIRMED
Severity: minor
Priority: medium
Component: Database
AssignedTo: [email protected]
ReportedBy: [email protected]
Extra hex bytes are being inserted into text files saved
from LibreOffice database queries. To show this, do the following:
1) Open up a simple database and run a query
2) Open a new text (.odt) document
3) Drag the query by the upper-left corner onto the text document
[ A window titled "Insert Database Columns" will open ]
4) Choose "Insert data as: text" on the top line
5) pick a database column or two, and then click OK
[ The data will be inserted into the text document ]
6) Save the document as ".txt", i.e., plain ascii text
7) View the document with the linux "less" command (or with
any program that will show the hex-byte content of the file)
8) Note that preceeding any of the ascii data from the database are
three extra bytes, "0xefbbbf", or "U+FEFF" as "less" shows them
These three extra bytes cause me grief when I use this general
scheme to create address labels. I didn't ask for them and they
don't belong at the beginning of the output file. It works this
way on all versions of LObase, up through 3.5.
Thanks for listening...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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