New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$PerlIO::encoding::fallback corrupts UTF-8 output #10131
Comments
From loic.etienne@tech.swisssign.comTo: perlbug@perl.org This is a bug report for perl from loic.etienne@tech.swisssign.com, Setting Example: Ä instead of the corresponding bytes. IMHO, the encoding fallback should apply only for input, and not for output, Code to reproduce the bug (assuming that the output buffer size is 1024): use strict; use PerlIO::encoding; # # $PerlIO::encoding::fallback = 0x0400; # xml entities # wrong output (Ä at the end) # correct output # Remark that if Flags: Site configuration information for perl 5.10.0: Configured by Debian Project at Thu Oct 1 22:36:47 UTC 2009. Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Locally applied patches: @INC for perl 5.10.0: Environment for perl 5.10.0: PATH=/home/etiennel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/etiennel/bin/ |
From @jkeenanOn Thu Feb 04 06:26:52 2010, loic.etienne@tech.swisssign.com wrote:
This problem persists in Perl 5.18.0. Can someone familiar with PerlIO, Thank you very much. |
The RT System itself - Status changed from 'new' to 'open' |
From @LeontOn Thu Feb 04 06:26:52 2010, loic.etienne@tech.swisssign.com wrote:
Between PerlIO::encoding and Encode, there's not nearly enough Leon |
Migrated from rt.perl.org#72534 (status was 'open')
Searchable as RT72534$
The text was updated successfully, but these errors were encountered: