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

Francois Kritzinger updated CAMEL-5718:
---------------------------------------

    Attachment: camel_smpp_8bit_messages.diff

This patch supercedes the previous one. It fixes the mangling of 8-bit bodies 
in all the message types I could identify (basically all subclasses of 
SmppSmCommand: SmppSubmitSmCommand, SmppSubmitMultiCommand, 
SmppReplaceSmCommand).

I.e.:

- Setting data coding or alphabet to one of the 8-bit values prevents body from 
getting narrowed to charset;

- Data coding takes precedence over alphabet. I.e. if both headers are set, 
only the value of the data coding is taken into account and the alphabet is 
ignored.
                
> Bodies of SUBMIT_SMs with 8-bit data_coding are mangled
> -------------------------------------------------------
>
>                 Key: CAMEL-5718
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5718
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>            Reporter: Francois Kritzinger
>            Assignee: Christian Müller
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>         Attachments: camel_smpp_8bit_messages.diff, 
> camel_smpp_8bit_submit_sm.diff
>
>
> Bytes in the body of 8-bit SUBMIT_SMs which do not fall within the chosen 
> charset's range are set to '?', which is obviously wrong because 8-bit/binary 
> data should not be modified in any way.

--
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

Reply via email to