Bug 6934: fixed encoding issue
authorremi <remi.mayrand-provencher@inLibro.com>
Tue, 19 Apr 2016 16:11:50 +0000 (12:11 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 11:50:25 +0000 (11:50 +0000)
Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Encoding issue fixed

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
reports/cash_register_stats.pl

index 2384ae3..7e7cb44 100755 (executable)
@@ -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() } ;
                 }