Re: IO::Socket::INET and utf-8

2003-07-01 Thread Martin J. Evans
Nick Ing-Simmons wrote: Nick Ing-Simmons <[EMAIL PROTECTED]> writes: Martin J. Evans <[EMAIL PROTECTED]> writes: A socket is a file handle so : binmode($sock,":utf8"); should work. I'm obviously missing something rather fundamental here. Not you - us. How can w

Re: IO::Socket::INET and utf-8

2003-07-01 Thread Martin J. Evans
Dan Kogai wrote: On Tuesday, July 1, 2003, at 05:49 PM, Martin J. Evans wrote: Nick Ing-Simmons wrote: Martin J. Evans <[EMAIL PROTECTED]> writes: A socket is a file handle so : binmode($sock,":utf8"); should work. This does not seem to work. My code looks like this:

Re: IO::Socket::INET and utf-8

2003-07-01 Thread Martin J. Evans
Nick Ing-Simmons wrote: Martin J. Evans <[EMAIL PROTECTED]> writes: I have a module based on IO::Socket::INET which has a method which should be able to send UTF-8 across the socket. When I call the method with a UTF-8 string it does a: print $sock $string where $sock was returned

IO::Socket::INET and utf-8

2003-07-01 Thread Martin J. Evans
I have a module based on IO::Socket::INET which has a method which should be able to send UTF-8 across the socket. When I call the method with a UTF-8 string it does a: print $sock $string where $sock was returned by IO::Socket::INET and $string contains UTF-8 characters. I get a warning: Wid