Commits

Shlomi Fish committed bbf2356

Made the encoding of the IRC log conversion routine utf-8.

Comments (0)

Files changed (1)

XML-Grammar-Fortune/module/contrib/convert-irc-log-to-fortune-xml.pl

 use strict;
 use warnings;
 
+use open IO => ':encoding(utf8)';
+
 use CGI qw();
 
+binmode STDOUT, ':encoding(utf8)';
+binmode STDIN, ':encoding(utf8)';
+
 my @messages;
 while(<>)
 {