RE: Encoder error

2007-11-06 Thread Burca Ciprian
Thank you, The ISO-8859-1 setup fixed my problem. -Original Message- From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 11:52 AM To: dev@mina.apache.org Subject: Re: Encoder error Burca Ciprian wrote: > I understand all these. The problem is that t

Re: Encoder error

2007-11-06 Thread Emmanuel Lecharny
Burca Ciprian wrote: I understand all these. The problem is that this is the way the data comes to me from a 3rd party application, with encoded DC hexa. This sample app I just created it in order to show my problem. Any ideas? Fix the third party application. Or assume the data comes ISO

Re: Encoder error

2007-11-06 Thread Brad Harvey
n Gupta [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 9:08 PM To: dev@mina.apache.org Subject: Re: Encoder error Burca Ciprian wrote: I receive from a 3rd party application a message containing a hexa char "DC". When I try to decode, I get an error. The character shoul

RE: Encoder error

2007-11-05 Thread Burca Ciprian
: Monday, November 05, 2007 9:16 PM To: dev@mina.apache.org Subject: Re: Encoder error Hi, Burca Ciprian wrote: > > > I have a proble with Mina. > > I receive from a 3rd party application a message containing a hexa > char "DC". When I try to decode, I get an error.

RE: Encoder error

2007-11-05 Thread Burca Ciprian
, November 05, 2007 9:08 PM To: dev@mina.apache.org Subject: Re: Encoder error Burca Ciprian wrote: > I receive from a 3rd party application a message containing a hexa > char "DC". When I try to decode, I get an error. The character should > be Ü. Here is a simple application th

Re: Encoder error

2007-11-05 Thread Emmanuel Lecharny
Hi, Burca Ciprian wrote: I have a proble with Mina. I receive from a 3rd party application a message containing a hexa char "DC". When I try to decode, I get an error. The character should be Ü. Here is a simple application that shows my problem: public static void main(String[] arg

Re: Encoder error

2007-11-05 Thread Raman Gupta
Burca Ciprian wrote: I receive from a 3rd party application a message containing a hexa char "DC". When I try to decode, I get an error. The character should be Ü. Here is a simple application that shows my problem: You need to be consistent with your encodings. You specified a UTF-8 decoder,

Encoder error

2007-11-05 Thread Burca Ciprian
Hi, I have a proble with Mina. I receive from a 3rd party application a message containing a hexa char "DC". When I try to decode, I get an error. The character should be Ü. Here is a simple application that shows my problem: package javaapplication3; import java.nio.CharBuffer; import

Encoder error

2007-11-05 Thread Burca Ciprian
Hi, I have a proble with Mina. I receive from a 3rd party application a message containing a hexa char "DC". When I try to decode, I get an error. The character should be Ü. Here is a simple application that shows my problem: package javaapplication3; import java.nio.CharBuffer; import ja