Yes, Claus is right.
Additionally I find helpful this FAQ for handling some encoding problems:
https://wiki.apache.org/tomcat/FAQ/CharacterEncoding

On 28 Dec 2016 1:17 p.m., "Claus Ibsen" <[email protected]> wrote:

> For properties files you need to specify the special chars in an
> encoded way. You can search the internet about this.
>
> For HTTP you may need to set the content-encoding header to something
> that supports those characters.
>
>
>
>
> On Wed, Dec 28, 2016 at 10:14 AM, bdeweer <[email protected]>
> wrote:
> > Hello,
> >
> > I have a problem with specials chars like : é @ à è etc...
> >
> > I send an HTTP request containing a header with the key SenderID and the
> > value is *Caméléon*
> >
> > I also have a properties file in my project with this key-value :
> > *test.message=Caméléon*
> >
> > In my route I have thses two instructions :
> >
> > <log message=&quot;Incoming ${header.processTypeName} message from :
> > &lt;b>${header.senderID}*" loggingLevel="INFO" />
> > <log message=&quot;Test Value : &lt;b>{{test.message}}*" />
> >
> >
> >
> > Here is what i see in my log :
> >
> > 10:10:54,236 | INFO  | qtp828770823-123 | ws2jms
>    |
> > 94 - org.apache.camel.camel-core - 2.18.1 | Incoming RETPoslog message
> from
> > : *CamÚlÚon*
> > 10:10:54,237 | INFO  | qtp828770823-123 | ws2jms
>    |
> > 94 - org.apache.camel.camel-core - 2.18.1 | Test Value : *Cam´┐¢l´┐¢on*
> >
> > So my question is : How can I deal with specials chars in Camel?
> >
> > Thank you!
> >
> >
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://camel.465427.n5.nabble.
> com/Encoding-Charset-problem-with-special-chars-tp5791967.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Reply via email to