Martin J. Evans <[EMAIL PROTECTED]> writes:
>> Attached patch calls PerlIO_binmode() on IoOFP if it exists and
>> isn't same as IoIFP. It silences the warning on my quick-check
>> test.
>
>
>
>Thanks Nick. The patch worked fine for me against stock 5.8.0 sources
>(it was 2 lines off but applied fi
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
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
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.
>>
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} =
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(
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
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
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