Bug 4512 for 3.0.x only (Encoding issue in downloaded data of guided reports) RESENT

The line binmode STDOUT, ':utf8'; garbles the output. It was already utf8. The statement should be used on binary data, not on plain text. The statement occurred more frequently in older versions of the script; this last occurrence must be deleted too.
This commit is contained in:
Marcel de Rooy 2010-06-09 14:33:27 +02:00 committed by Henri-Damien LAURENT
parent a0b09cb7c8
commit be0a9637a2
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ elsif ($phase eq 'Run this report'){
}
elsif ($phase eq 'Export'){
binmode STDOUT, ':utf8';
#binmode STDOUT, ':utf8'; #bug 4512
# export results to tab separated text or CSV
my $sql = $input->param('sql'); # FIXME: use sql from saved report ID#, not new user-supplied SQL!