Re: [HAPI-devel] HAPI Server Turkish Character Problem............

2010-10-14 Thread christian ohr
Hi, The MinLLPReader class evaluates a system property called "ca.uhn.hl7v2.llp.charset". If it's set to "default", it uses the default character set of the system environment. If you set it to "ISO_8859_9" (e.g. by launching the application with -Dca.uhn.hl7v2.llp.charset=ISO_8859_9") you expl

Re: [HAPI-devel] HAPI Server Turkish Character Problem............

2010-10-13 Thread hilal ceyhan
Rahul, I know I must set charset for turkish but how do i set it for HAPI Server ??? HAPI Server does not give permission to change charset.. I tried different things but did not work.:( Here is my HL7Server class: LowerLayerProtocol llp = LowerLayerProtocol.makeLLP(); PipeP

Re: [HAPI-devel] HAPI Server Turkish Character Problem............

2010-10-13 Thread Rahul Somasunderam
Hilal, You need to set the encoding right on while reading from the stream, as well as while writing to the stream. I'm not sure what charset is required for turkish, but you may be interested in trying out UTF-8. R, rahul On Wed 10/13/10 2:02 AM , hilal ceyhan [email protected] sent: >

[HAPI-devel] HAPI Server Turkish Character Problem............

2010-10-13 Thread hilal ceyhan
Hi all, I have used LowerLayerProtocol with HAPI SimpleServer and sended HL7 Message with HL7Inspector to my HAPI Server. Sended message has some turkish characters(ş,ç,ğ,İ,..). When server has received this message I encode the message as below: PipeParser parser = new PipeParser();