You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/10/07 09:54:52 UTC

[jira] Updated: (SM-1362) Encoding problem ... creating JMS TextMessage from SoapMessage

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

Guillaume Nodet updated SM-1362:
--------------------------------

    Fix Version/s: servicemix-jms-2008.01

> 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
>            Assignee: Guillaume Nodet
>             Fix For: 3.3, servicemix-jms-2008.01
>
>         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.