projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b04749
)
Bug 6679: Fixing admin/aqplain :encoding(UTF-8) gives strict validation
author
Chris Cormack
<chrisc@catalyst.net.nz>
Mon, 31 Oct 2011 07:57:19 +0000
(20:57 +1300)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Sun, 6 Nov 2011 17:29:12 +0000
(18:29 +0100)
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
tested with diacritics, no changes before and after the patch
admin/aqplan.pl
patch
|
blob
|
history
diff --git
a/admin/aqplan.pl
b/admin/aqplan.pl
index
ceb9950
..
9c75431
100755
(executable)
--- a/
admin/aqplan.pl
+++ b/
admin/aqplan.pl
@@
-463,7
+463,7
@@
output_html_with_http_headers $input, $cookie, $template->output;
sub _print_to_csv {
my ( $header, $results ) = @_;
sub _print_to_csv {
my ( $header, $results ) = @_;
- binmode STDOUT, ":
utf8
";
+ binmode STDOUT, ":
encoding(UTF-8)
";
my $csv = Text::CSV_XS->new(
{ sep_char => $del,
my $csv = Text::CSV_XS->new(
{ sep_char => $del,