I'm making a character conversion to unicode using Java, sometimes I get a character "\\E" in the converted String, what does this character mean? - I searched and could not find an answer.
This is a nice unicode converter: https://r12a.github.io/apps/conversion/
And this page has all the codes: https://unicode-table.com
This is the java code I used in case it might help:
String conc = String.format ("\\u%04x", (int)charArray[i]);
All your backslashes are getting escaped to \\E\\ as this is the escape sequence used in HL7 for a backslash character.
For more information on escape sequences used for special characters in HL7 you can refer to this link: https://corepointhealth.com/resource-center/hl7-resources/hl7-escape-sequences/
I found the answer so I'm sharing it for anyone who comes across a similar problem. I was using HAPI - an HL7 lib for Java- which has a particular behavior of escaping the / with a /E when converting xml to a HL7v2 message, as the default seperator is the slash "/", that's why I was getting all the /E's.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.