[
https://issues.apache.org/activemq/browse/SM-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44382#action_44382
]
Ulhas Bhole commented on SM-1362:
---------------------------------
Hi,
I have taken liberty to add the patch for this issue.
--Ulhas
> 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.