Re: WebSocket: Special character escaping

2015-06-02 Thread Ganesh Bms
Thanks Mark. Sample web socket chat helped to identify the problem. In fact, problem was there in one of third-party lib I used and also, in log4j config. The log4j was configured with non-utf encoding scheme. That's why raw web socket messages were getting printed wrongly in log file. I solved

WebSocket: Special character escaping

2015-05-13 Thread Ganesh Bms
Hi, I have written a web socket server using web socket API(JSR-356) and which runs on tomcat version 7.0.56. My test client sends some text which has some special characters over web socket connection to my server. the problem is that server is not getting the client's text as it is. the special

Re: WebSocket: Special character escaping

2015-05-13 Thread Mark Thomas
On 13/05/2015 11:44, Ganesh Bms wrote: Sorry .. correction to line: The text that my client sends is Test701á. Server received is SIP701?. Actual: The text that my client sends is Test701á. Server received is Test701?. Lots of places this could go wrong. You need to make sure that

Re: WebSocket: Special character escaping

2015-05-13 Thread Ganesh Bms
Sorry .. correction to line: The text that my client sends is Test701á. Server received is SIP701?. Actual: The text that my client sends is Test701á. Server received is Test701?. On Wed, May 13, 2015 at 3:33 PM, Ganesh Bms gbmsat...@gmail.com wrote: Hi, I have written a web socket server