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

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

Thread Previous | Thread Next
August 13, 2018 15:53
Re: [perl #133431] Potential bug in IO::Socket
Message ID:
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?


On 13/8/2018 03:41, Tony Cook via RT wrote:
> On Sun, 12 Aug 2018 11:26:00 -0700, wrote:
>> Hi Shlomi,
>> Here you can find a self-contained example that gives this message:
>> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About