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

Ulhas Bhole updated SM-1362:
----------------------------

    Attachment: SM-1362.patch

Patch attached for the issue with test.

> Encoding problem ... creating JMS TextMessage from SoapMessage
> --------------------------------------------------------------
>
>                 Key: SM-1362
>                 URL: https://issues.apache.org/activemq/browse/SM-1362
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jms
>    Affects Versions: 3.2.1
>            Reporter: Michael Halmich
>         Attachments: DefaultJmsMarshalerTest.java, SM-1362.patch, soap.xml
>
>
> In DefaultJmsMarshaler.toJMS(SoapMessage, Session) a TextMessage is created 
> and it's text is set with the return value of 
> ByteArrayOutputStream.toString() ... which uses the platform's default 
> character encoding (in my case Cp1252) ... this destroys german umlauts.
> When used with the right encoding (for example 
> ByteArrayOutputStream.toString(SourceTransformer.getDefaultCharset())) it 
> works.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to