put stdout into encoding UTF-8 mode
authorDon Armstrong <don@donarmstrong.com>
Tue, 2 Apr 2013 00:23:07 +0000 (17:23 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 2 Apr 2013 00:23:07 +0000 (17:23 -0700)
bugscan

diff --git a/bugscan b/bugscan
index 958483e..e4cdfd3 100755 (executable)
--- a/bugscan
+++ b/bugscan
@@ -17,6 +17,8 @@ scanlib::readpseudopackages();
 scanlib::readmaintainers();
 scanlib::scanspool();
 
+binmode(STDOUT,':encoding(UTF-8)');
+
 for my $p (keys %scanlib::packagelist) {
        my $section;
        my $package = $p;