Charset - MSH-18

Discussion of open issues, suggestions and bugs regarding to (known as Delphi HL7) HL7 Components
Post Reply
lucas.amiune
Posts: 25
Joined: Mon Oct 29, 2012 7:41 pm

Charset - MSH-18

Post 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
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Charset - MSH-18

Post by admin »

Hi,
Please see Component not support unicode
Best Regards.
lucas.amiune
Posts: 25
Joined: Mon Oct 29, 2012 7:41 pm

Re: Charset - MSH-18

Post 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;
admin
Site Admin
Posts: 256
Joined: Sun Jun 05, 2011 8:06 pm

Re: Charset - MSH-18

Post by admin »

Hi,

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

Best Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests