I just verified that "-Dca.uhn.hl7v2.llp.charset=UTF-8" changes the HAPI
character encoding to UTF-8.  I also verified that HAPI applies the
encoding when it sends the message via method
"Initiator.sendAndReceive(Message)".
 However, since my application log still shows character 0xE9 (my previous
message mistakenly stated 0xE9 and 0x5C) in place of "0xc3 0xa9", I can't
confirm whether HAPI method "Message.printStructure()" applies the encoding
or SLF4J and Logback are using an encoding different from UTF-8.

Derek

On Tue, Apr 30, 2013 at 1:26 PM, Derek Mahar <derek.ma...@intelerad.com>wrote:

> By the way, to select character encoding "UTF-8", do I set system property
> "ca.uhn.hl7v2.llp.charset" to "UTF-8", "UTF_8", "UTF8", or other string?
>
> Derek
>



-- 
Derek Mahar | Research and Development - Intelerad
+1-514-931-6222 ext. 7754 |
derek.ma...@intelerad.com<peter.nee...@intelerad.com>

Website | Twitter | LinkedIn | Blog

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to