Bug 1048134

Summary: decode_utf8() returns gibberish on non-string value
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-EncodeAssignee: Petr Pisar <ppisar>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: lnie, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://rt.cpan.org/Public/Bug/Display.html?id=91569
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1048147 (view as bug list) Environment:
Last Closed: 2014-02-05 23:22:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2014-01-03 09:30:53 UTC
$ perl -e 'use Encode; print decode_utf8(*foo), qq{\n}'
Wide character in print at -e line 1.
0 AH��@��
[...]

Expected value is '*main::foo'.

Fixed in upstream version 2.56 with commit:

commit 14307cf7e433056128727f5d738ee317ef05b016
Author: Dan Kogai <dankogai+github>
Date:   Sun Dec 22 13:07:05 2013 +0900

    VERSION 2.56

Fedora < 21 are affected.

Comment 1 Fedora Update System 2014-01-03 09:52:30 UTC
perl-Encode-2.54-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-Encode-2.54-2.fc20

Comment 2 Fedora Update System 2014-01-03 09:53:01 UTC
perl-Encode-2.54-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-Encode-2.54-2.fc19

Comment 3 lnie 2014-01-06 02:33:33 UTC
2.54-2.fc20 works fine

Comment 4 Fedora Update System 2014-01-12 05:00:46 UTC
perl-Encode-2.54-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-01-21 05:48:10 UTC
perl-Encode-2.54-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora End Of Life 2014-02-05 23:22:06 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.