Re: Problems with UTF-8 encoding.

2016-06-08 Thread ash
Hi Raul, Mayank is not the only one with the problem. For example I use JMS native client to send a message and then consume it via the REST API. I post object messages like so: /ObjectMessage message = session.createObjectMessage(new String(mystring.getBytes("UTF-8")));/ /producer.send(messag

Re: Problems with UTF-8 encoding.

2012-10-23 Thread Raul Kripalani
If you can post the producer and consumer code, plus the AMQ configuration (removing any details that cannot go public), we can analyse further. What message type are you sending? TextMessage? And how are you generating and reading the String? Thanks, *Raúl Kripalani* Apache Camel Committer Ente

Re: Problems with UTF-8 encoding.

2012-10-23 Thread Mayank Agarwal
Hello Raul, Thanks for the reply. It is still giving me the same problem. Any other points that I need to take care of?

Re: Problems with UTF-8 encoding.

2012-10-23 Thread Raul Kripalani
Make sure you are passing the file.encoding parameter as a JVM option in the startup script. -Dfile.encoding="UTF-8" Sent from a mobile device On 23 Oct 2012 15:11, "Mayank Agarwal" wrote: > Hi all, > > I am having a problem with UTF-8 encoded characters (for eg: "¥"). > When I send it as a mes