You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jimmy Jones (JIRA)" <ji...@apache.org> on 2013/01/20 18:16:12 UTC

[jira] [Updated] (QPID-4544) Perl bindings: Unicode not represented correctly in amqp/map

     [ https://issues.apache.org/jira/browse/QPID-4544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jimmy Jones updated QPID-4544:
------------------------------

    Attachment: qpid-perl-map-utf8.diff

Attached proposed fix and testcase that exposes the issue.
                
> Perl bindings: Unicode not represented correctly in amqp/map
> ------------------------------------------------------------
>
>                 Key: QPID-4544
>                 URL: https://issues.apache.org/jira/browse/QPID-4544
>             Project: Qpid
>          Issue Type: Bug
>          Components: Perl Client
>    Affects Versions: 0.18
>         Environment: RHEL 6
>            Reporter: Jimmy Jones
>         Attachments: qpid-perl-map-utf8.diff
>
>
> Perl stores a string as bytes, or will upgrade it to utf8 when unicode is used. However the perl bindings don't check the utf8 flag before adding/removing strings from amqp/map, so treats everything as bytes. This isn't noticeable on most terminals (as it'll interpret the bytes as utf8) but regexes and length don't work as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org