From 1d556e5b17d76f24dacb71a074ea6b284b7c2865 Mon Sep 17 00:00:00 2001 From: remi Date: Tue, 19 Apr 2016 12:11:50 -0400 Subject: [PATCH] [SIGNED-OFF]Bug 6934: fixed encoding issue Signed-off-by: Hector Castro Encoding issue fixed --- reports/cash_register_stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/cash_register_stats.pl b/reports/cash_register_stats.pl index 2384ae3..7e7cb44 100755 --- a/reports/cash_register_stats.pl +++ b/reports/cash_register_stats.pl @@ -180,7 +180,7 @@ if ($do_it) { $row->{barcode}; $row->{itype}; if ($csv->combine(@rowValues)) { - $content .= $csv->string() . "\n"; + $content .= Encode::decode('UTF-8',$csv->string()) . "\n"; } else { push @$q_errors, { combine => $csv->error_diag() } ; } -- 1.7.10.4