[Bug 1048134] New: decode_utf8() returns gibberish on non-string value

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 3 09:30:53 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1048134

            Bug ID: 1048134
           Summary: decode_utf8() returns gibberish on non-string value
           Product: Fedora
           Version: 18
         Component: perl-Encode
          Assignee: ppisar at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: perl-devel at lists.fedoraproject.org, ppisar at redhat.com
   External Bug ID: CPAN 91569



$ 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 at gmail.com>
Date:   Sun Dec 22 13:07:05 2013 +0900

    VERSION 2.56

Fedora < 21 are affected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=GKsu3CF6BK&a=cc_unsubscribe


More information about the perl-devel mailing list