Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-315

Error receiving special characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0, 1.5.0, 1.5.1
    • 1.5.2, 1.6.0
    • Stomp
    • None
    • tested in net-2.0 and netcf-2.0

    Description

      We are using NMS STOMP client for CF 2.0, and we have a error when the client recives text messages with special characters like "é", that are transformed in illegible characters.

      I have modified the BinaryReader constructor from "TcpTransport" class in NMS Stomp client, just to add Encoding.Default (instead of to use UTF-8, that is use for default constructor)

      socketReader = new BinaryReader(CreateSocketStream(), Encoding.Default);

      With this modification, text messages with special characters are received without errors.

      Test that demonstrates the issue attached.

      Attachments

        1. SpecialCharactersTest.cs
          3 kB
          David Pascual

        Activity

          People

            tabish Timothy A. Bish
            dpascual80 David Pascual
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: