I'm trying to do simple transfer from text file containing HL7 message (encoding UTF-8) to identical outbound text file with the same message and the same encoding.
I set channel with FileListener as a source and FileWriter as an destination. I chose UTF-8 encoding for both of them. In outbound template i put only reference to raw data (${message.rawData}).
Message:
is transfered to:
Written file contains changed data (polish signs are changed to '?' sign). I've also tried other encodings (like ISO-8859-2) but result is the same: ? instead of polish signs (??????).
Is it possible to transfer HL7 messages containing language specific signs?
Please refer to attached source HL7 message (UTF-8, Polish signs in PID.5).
ORM_UTF8.hl7 (593 bytes)
Post edited by: mombip, at: 08/14/2007 08:11
I set channel with FileListener as a source and FileWriter as an destination. I chose UTF-8 encoding for both of them. In outbound template i put only reference to raw data (${message.rawData}).
Message:
PID||89102332546^^^^PESEL|17741||G??l?^?ó???||19791023|M|||Street 8 m 4^^City^^93218|||||||||
PID||89102332546^^^^PESEL|17741||G??l?^?ó???||19791023|M|||Street 8 m 4^^City^^93218|||||||||
Is it possible to transfer HL7 messages containing language specific signs?
Please refer to attached source HL7 message (UTF-8, Polish signs in PID.5).
ORM_UTF8.hl7 (593 bytes)
Post edited by: mombip, at: 08/14/2007 08:11
Comment