Alexandre Julliard : patches: Force binary mode for CSV decoding.

Alexandre Julliard julliard at winehq.org
Tue Feb 4 10:25:43 CST 2014


Module: tools
Branch: master
Commit: d1e074526f3b5ee186de797be1233d6a38e5592d
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=d1e074526f3b5ee186de797be1233d6a38e5592d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Feb  3 15:25:45 2014 +0100

patches: Force binary mode for CSV decoding.

---

 patches/update-regressions |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/patches/update-regressions b/patches/update-regressions
index f8c98a2..0502878 100755
--- a/patches/update-regressions
+++ b/patches/update-regressions
@@ -42,8 +42,7 @@ my $count = 0;
 
 sub read_bugs()
 {
-    my $csv = Text::CSV::Encoded->new({ encoding_in     => "utf-8",
-                                        encoding_out    => "utf-8" });
+    my $csv = Text::CSV::Encoded->new({ binary => 1 });
 
     open LIST, "-|", "wget", "-qO-", "http://bugs.winehq.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&columnlist=cf_regression_sha1sum%2Cshort_desc&keywords=regression&keywords_type=anywords&product=Wine&query_format=advanced&ctype=csv" or die "cannot query bug list";
 




More information about the wine-cvs mailing list