1. Shlomi Fish
  2. Fortune-XML

Commits

Shlomi Fish  committed bbf2356

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

  • Participants
  • Parent commits 8b2dd16
  • Branches default

Comments (0)

Files changed (1)

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

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