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
Encode::decode doesn't support CHECK=FB_CROAK #7431
Comments
From perlbug@plan9.deCreated by perlbug@plan9.deThis is my first venture into "Encode" land, so I am not accustomed to I tried the following program on debians 5.8.4 perl, as well as my own use Encode; $test = "xx\x{b0}yy"; $prefix = decode "iso-2022-jp", $test, 1; warn "prefix is $prefix, test is $test\n"; This outputs: prefix is xx, test is °yy (the ° is the \x{b0]). Now, the original string is not valid iso-2022-jp, so I would expect $prefix = decode "utf-8", $test, 1; Results in a die: utf8 "\xB0" does not map to Unicode at /opt/perl/lib/perl5/Encode.pm line 164. So the behaviour is at least inconsistent. Perl Info
|
Migrated from rt.perl.org#30774 (status was 'new')
Searchable as RT30774$
The text was updated successfully, but these errors were encountered: