From faab69f2c1cc5dc537e93ef36d233789df215b02 Mon Sep 17 00:00:00 2001 From: timriker Date: Thu, 4 Mar 2010 01:25:51 +0000 Subject: [PATCH] let unclean utf8 in? git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1891 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/IRC/Irc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRC/Irc.pl b/src/IRC/Irc.pl index 6ac662e..19c5bc6 100644 --- a/src/IRC/Irc.pl +++ b/src/IRC/Irc.pl @@ -126,7 +126,7 @@ sub irc { } if (defined $conns{$mynick}) { # explicit binmode for socket as "use open" does not seem to work here - binmode $conns{$mynick}->{_socket}, ":utf8"; + binmode $conns{$mynick}->{_socket}, ":encoding(UTF-8)"; $conns{$mynick}->maxlinelen($maxlinelen); -- 2.39.2