develooper Front page | perl.perl5.porters | Postings from August 2018

Re: [perl #133431] Potential bug in IO::Socket

Thread Previous | Thread Next
From:
=?UTF-8?B?zpLOu86sz4POt8+CIM6nzrHPhM62zrfPg8+EzrHPjc+Bzr/PhQ==?=
Date:
August 13, 2018 15:53
Subject:
Re: [perl #133431] Potential bug in IO::Socket
Message ID:
13877_1534152474_5B714F1A_13877_33_1_f81a0ea4-978f-e507-5692-c898feebfa10@kinetix.gr
Ah, thanks Tony that was helpful.

So I understand that from 5.30 onward we should NOT set :utf8 on the 
handle and let the receiving end deal with the stream ie decode it as UTF-8?

Regards,
Vlasis.

On 13/8/2018 03:41, Tony Cook via RT wrote:
> On Sun, 12 Aug 2018 11:26:00 -0700, vhatz@kinetix.gr wrote:
>> Hi Shlomi,
>>
>> Here you can find a self-contained example that gives this message:
>>
>> https://paste.debian.net/1037634
>>
>> If we comment out the binmode(... line the message goes away but
>> apparently the binmode is not set to UTF-8...
> The warning produced is expected behaviour.
>
> See the description of the warning in man perldiag.
>
> Tony
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About