Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4544

Perl bindings: Unicode not represented correctly in amqp/map

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: None
    • Component/s: Perl Client
    • Labels:
      None
    • Environment:

      RHEL 6

      Description

      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.

        Attachments

        1. qpid-perl-map-utf8.diff
          2 kB
          Jimmy Jones

          Activity

            People

            • Assignee:
              mcpierce Darryl Pierce
              Reporter:
              jimmyjones2 Jimmy Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: