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
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 by IO::Socket::INET and $strin
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 by IO::Socke
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:
$self->{_socket} =
IO::Socket::INET->new(
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:
$self->{_socket} =
Martin J. Evans <[EMAIL PROTECTED]> writes:
>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.
>>
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 we have got this far witho
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 we have got this far without some