[
https://issues.apache.org/activemq/browse/CAMEL-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59300#action_59300
]
Claus Ibsen commented on CAMEL-2712:
------------------------------------
At least you should do the same as in XMLConverter so its consistent
{code}
return ObjectHelper.getSystemProperty(DEFAULT_CHARSET_PROPERTY, "UTF-8")
{code}
And move that constant somewhere else. Maybe on Exchange as it has become where
we stash commonly used constants.
> The default charset name should be UTF-8
> ----------------------------------------
>
> Key: CAMEL-2712
> URL: https://issues.apache.org/activemq/browse/CAMEL-2712
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 1.6.3, 2.3.0
>
>
> Current camel just use the below code to return the defaultCharset.
> {code}
> Charset.defaultCharset().toString();
> {code}
> It will cause some trouble if there are two boxes with different
> defaultCharset want to talk to each other with default setting.
> By setting the defaultCharset to be UTF-8 will work around this kind of issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.