Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1415

Allow specifying an encoding on the DefaultFileMarshaler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2, 3.3
    • None
    • None

    Description

      If a file/ftp poller attempts to handle a message which isn't encoded in UTF-8 and which doesn't contain a PI to mention the correct encoding, the message exchange fails with an exception like "Line #273; Column #54; Invalid byte 2 of 2-byte UTF-8 sequence" when it encounters e.g. a Latin letter with diacritic.

      We should add an optional 'encoding' attribute to the DefaultFileMarshaler to allow people to override the encoding when necessary.

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: