]> git.koha-community.org Git - koha.git/commit
Bug 33635: Add BOM to report exports as CSV
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 18 Sep 2024 04:42:41 +0000 (05:42 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 30 Sep 2024 14:24:41 +0000 (15:24 +0100)
commit0d25a2bacfdcb5bc42bff8f131bbd1d8728c9036
treed7df3090183ceb70cb1b68a0242ec77899ece6e7
parent996c9d9fdcb8935c96b30d8d1d1f33a3f4d3cb63
Bug 33635: Add BOM to report exports as CSV

When you export a report as CSV excel will not recognise that it's
encoding is utf-8 unless there is a correct Byte Order Mark prepended to
the file.

This patch adds such a BOM to the output file allowing Excel to treat
the file correctly.

Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
reports/guided_reports.pl