Hi,
Can I have a look at your route? Basically, camel converter supports
different character by setting the Exchange property with the key
Exchange.CHARSET_NAME and value "UTF-8". In this way camel will set
right character encoding when it need to change the byte into String.
BTW, which version of camel are you using?
Willem
Joe Osowski wrote:
I'm seeing some strange behavior with character encoding and the XSLT component. I'm trying to
send a '𝒟' through (Hex: 𝒟). xsltproc handles the source xml/xsl
transform fine. But the Camel transformation component munges this character into "??".
There was another poster with a similar problem. I've set the character
encoding to UTF-8 with the system property.
System.setProperty(XmlConverter.DEFAULT_CHARSET_PROPERTY,"UTF-8");
But to no avail. I would be happy to send my XML and XSL need be. Has anyone
else had/resolved this issue?
Thanks
Joe
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is confidential to the intended recipient. If you have received it
in error, please notify the sender and delete it from your
system. Any unauthorized use, disclosure or copying is not permitted. The views
or opinions presented are solely those of the sender and do
not necessarily represent those of Public Library of Science unless otherwise
specifically stated. Please note that neither Public Library
of Science nor any of its agents accept any responsibility for any viruses that
may be contained in this e-mail or its attachments and it
is your responsibility to scan the e-mail and attachments (if any).