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

Guillaume Nodet reassigned SMXCOMP-289:
---------------------------------------

    Assignee:     (was: Guillaume Nodet)

> Encoding problem ... creating JMS TextMessage from SoapMessage
> --------------------------------------------------------------
>
>                 Key: SMXCOMP-289
>                 URL: https://issues.apache.org/jira/browse/SMXCOMP-289
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-jms
>    Affects Versions: 3.2.1
>            Reporter: Michael Halmich
>             Fix For: 2013.02
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--DefaultJmsMarshalerTest.java, 
> ASF.LICENSE.NOT.GRANTED--soap.xml, SM-1362.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to