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:
parent
a0b09cb7c8
commit
be0a9637a2
|
|
@ -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!
|
||||
|
|
|
|||
Loading…
Reference in New Issue