From e82af4a197e7fda6cb9831e5ea5cb1178f64f42b Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Sat, 2 May 2020 15:57:16 +0200
Subject: [PATCH] Bug 24163: Specify the UTF-8 charset in the header

To avoid encoding issues
---
 acqui/lateorders-export.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/acqui/lateorders-export.pl b/acqui/lateorders-export.pl
index 31e21a8e75..408f79c74f 100755
--- a/acqui/lateorders-export.pl
+++ b/acqui/lateorders-export.pl
@@ -87,6 +87,7 @@ unless ( $csv_profile_id ) {
     print $input->header(
         -type       => 'text/csv',
         -attachment => 'lateorders.csv',
+        -charset    => 'UTF-8',
     );
     print $csv;
     exit;
-- 
2.20.1