=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winemaker: Use utf-8 for stdout.

Alexandre Julliard julliard at winehq.org
Mon Jun 17 14:07:47 CDT 2013


Module: wine
Branch: master
Commit: 5b2d515763e8b7da388c831b94c0fafedcd2ee8e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5b2d515763e8b7da388c831b94c0fafedcd2ee8e

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sun Jun 16 20:55:04 2013 +0200

winemaker: Use utf-8 for stdout.

---

 tools/winemaker |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index dc94f7d..c6eb480 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -2,7 +2,7 @@
 use utf8;
 use strict;
 
-# Copyright 2000-2004 Francois Gouget for CodeWeavers
+# Copyright 2000-2004 François Gouget for CodeWeavers
 # Copyright 2004 Dimitrie O. Paun
 # Copyright 2009-2012 André Hentschel
 #
@@ -2669,7 +2669,7 @@ $opt_no_banner=0;
 sub print_banner()
 {
   print "Winemaker $version\n";
-  print "Copyright 2000-2004 Francois Gouget <fgouget\@codeweavers.com> for CodeWeavers\n";
+  print "Copyright 2000-2004 François Gouget <fgouget\@codeweavers.com> for CodeWeavers\n";
   print "Copyright 2004 Dimitrie O. Paun\n";
   print "Copyright 2009-2012 André Hentschel\n";
 }
@@ -2693,6 +2693,8 @@ sub usage()
   exit (2);
 }
 
+binmode(STDOUT, ":utf8");
+
 target_init(\@global_settings);
 
 foreach(@ARGV) {




More information about the wine-cvs mailing list