Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-232

OpenWire encode and decode UTF8 incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.5
    • 2.2.6, 3.0
    • Openwire
    • None
    • Windows XP SP 3, Visual Studio 2008

    • Regression

    Description

      Hallo,

      we are using topic messages to sent messages from one user to another. Our program subscribe a durable consumer with selector "UserName='<user>'" and send a message with the property "UserName" and value "<user>".

      All works fine, when <user> contains only ASCII characters. When <user> contains non ASCII characters like äöüßé, the message is not send to the
      consumer.

      The problem ist that readString and writeString in OpenwireStringSupport.cpp have bugs

      Regards,
      Peter

      Attachments

        1. OpenwireStringSupport_fixed.patch
          7 kB
          Martin Schlapfer
        2. OpenwireStringSupport.patch
          6 kB
          Peter Pfort
        3. OpenwireStringSupportTest.patch
          4 kB
          Martin Schlapfer

        Activity

          People

            tabish Timothy A. Bish
            retep Peter Pfort
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: