<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -80,9 +80,9 @@ sub parse_query {
            $val =~ s/[\r\n\0\001]//g;
         }
 
-		  Encode::_utf8_on($val) if $::ENCODE;
+        $val = Encode::decode_utf8($val) if $::ENCODE;
 
-	     $key =&gt; $val; # Return a hash element to map.
+        $key =&gt; $val; # Return a hash element to map.
       } split(/[&amp;;]/, $query)
    };
 }</diff>
      <filename>modules/parse.pl</filename>
    </modified>
    <modified>
      <diff>@@ -1174,7 +1174,7 @@ sub init {
    if($::ENCODE) {
       eval {
          local $SIG{__DIE__};
-         binmode STDOUT, &quot;:utf8&quot;;
+         binmode STDOUT, &quot;:encoding(utf-8)&quot;;
       };
    }
       </diff>
      <filename>nph-irc.cgi</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>008bbd04732f8d6ca159b02461ce38550c785cc8</id>
    </parent>
  </parents>
  <author>
    <name>David Leadbeater</name>
    <email>dgl@dgl.cx</email>
  </author>
  <url>http://github.com/dgl/cgiirc/commit/d8ecd089022091c310c938faebef0619c3da367b</url>
  <id>d8ecd089022091c310c938faebef0619c3da367b</id>
  <committed-date>2008-11-10T11:45:16-08:00</committed-date>
  <authored-date>2008-11-10T11:45:16-08:00</authored-date>
  <message>UTF-8 fixes</message>
  <tree>e5a90c1d929792d3d1b943564418ec07ab24e22b</tree>
  <committer>
    <name>David Leadbeater</name>
    <email>dgl@dgl.cx</email>
  </committer>
</commit>
