Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict validation

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
tested with diacritics, no changes before and after the patch
This commit is contained in:
Chris Cormack 2011-10-31 20:57:19 +13:00 committed by Paul Poulain
parent 3b0474950c
commit ee0627f20b

View file

@ -463,7 +463,7 @@ output_html_with_http_headers $input, $cookie, $template->output;
sub _print_to_csv {
my ( $header, $results ) = @_;
binmode STDOUT, ":utf8";
binmode STDOUT, ":encoding(UTF-8)";
my $csv = Text::CSV_XS->new(
{ sep_char => $del,