Re: [HAPI-devel] unescaping

2012-07-11 Thread James Agnew
Hi Gabriel, I see what you mean. HAPI does not by default do that kind of translation, since it would be impossible to get it right across all platforms and all of the escape sequences that HL7 supports. The new version of HAPI (almost released) does include a method which converts text datatypes

Re: [HAPI-devel] unescaping

2012-07-09 Thread James Agnew
Hi Gabriel, Do you mean that you have a string which contains a specical character, and you want getValue() to return it as the corresponding escape sequence (like it would appear in an actual message)? If so, encode() would be the method to call. If you have (for example) an ST that contains the