Page 1 of 1

Charset - MSH-18

Posted: Wed May 13, 2015 2:48 pm
by lucas.amiune
Hi there,

I would like to force the ORM to be readed as UTF-8 in my delphi application.

ie.: In this moment the character "Ñ" is been changed for "?" and I would like to receive the correct one "Ñ".
I'll ask to send UNICODE in MSH-18. But what more do I have to code?

Do you guys have any sample code to show me?

Thank you in Advance

Re: Charset - MSH-18

Posted: Thu May 14, 2015 5:53 am
by admin
Hi,
Please see Component not support unicode
Best Regards.

Re: Charset - MSH-18

Posted: Thu May 14, 2015 7:21 pm
by lucas.amiune
The version of HL7, that I'm using is 2.3.1 and maybe because of that I was not able to find EnableEscapedValues method.

msghl7 := TdiORM_O01_231.Create;

Re: Charset - MSH-18

Posted: Fri May 15, 2015 5:35 am
by admin
Hi,

You can use Value property instead AsString. Value property stores data in Raw Format.
or you can version upgrade.

Best Regards.