PerlIO::encoding produces malformed utf8 #12493
Comments
From @cpansproutPerlIO::encoding passes invalid strings to encoding implementations. Flags: Site configuration information for perl 5.17.5: Configured by sprout at Sat Sep 22 18:51:23 PDT 2012. Summary of my perl5 (revision 5 version 17 subversion 5) configuration: Locally applied patches: @INC for perl 5.17.5: Environment for perl 5.17.5: |
From @cpansproutOn Sun Oct 14 14:49:40 2012, sprout wrote:
A local mail server seemed to think this was spam and refused to send use Encode::Encoding; That script dumps two malformed scalars, because the output is split in Encode::CN::HZ actually expects this and uses some arcane Perl code Other pure-Perl encoding implementations included with Encode.pm don’t work: open $fh, ">encoding(utf-7)", \$s; That produces malformed UTF8 messages. PerlIO::encoding should be caching the partial characters instead of Flags: Site configuration information for perl 5.17.5: Configured by sprout at Sat Sep 22 18:51:23 PDT 2012. Summary of my perl5 (revision 5 version 17 subversion 5) configuration: Locally applied patches: @INC for perl 5.17.5: Environment for perl 5.17.5: -- Father Chrysostomos |
From [Unknown Contact. See original ticket]On Sun Oct 14 14:49:40 2012, sprout wrote:
A local mail server seemed to think this was spam and refused to send use Encode::Encoding; That script dumps two malformed scalars, because the output is split in Encode::CN::HZ actually expects this and uses some arcane Perl code Other pure-Perl encoding implementations included with Encode.pm don’t work: open $fh, ">encoding(utf-7)", \$s; That produces malformed UTF8 messages. PerlIO::encoding should be caching the partial characters instead of Flags: Site configuration information for perl 5.17.5: Configured by sprout at Sat Sep 22 18:51:23 PDT 2012. Summary of my perl5 (revision 5 version 17 subversion 5) configuration: Locally applied patches: @INC for perl 5.17.5: Environment for perl 5.17.5: -- Father Chrysostomos |
@cpansprout - Status changed from 'new' to 'open' |
From @LeontOn Sun, Oct 14, 2012 at 11:50 PM, Father Chrysostomos via RT
Yeah, this is the general design of the system. PerlIO doesn't do Leon |
Migrated from rt.perl.org#115262 (status was 'open')
Searchable as RT115262$
The text was updated successfully, but these errors were encountered: