Utf-8 II

Utf-8 II

am 08.06.2006 15:03:10 von pav

More on the subject of Utf-8 data. When using 'http' method, the data
in socket writes are downgraded to latin. They should be in utf8 to
match the rest of the code.

Please consider this patch, in addition to the one in my previous email.


--- http.pm.orig Thu Dec 8 11:28:01 2005
+++ http.pm Thu Jun 8 15:00:27 2006
@@ -50,6 +50,7 @@
# perl 5.005's IO::Socket does not have the blocking method.
eval { $sock->blocking(0); };

+ binmode($sock, ":utf8");
$sock;
}


--
Pav Lucistnik


It's ten o'clock; do you know where your processes are?