From: <ber...@vi...> - 2005-07-19 09:02:21
|
Hi all, =20 I am using the HAPI (0.4.2) classes to transform patients that have been = exported from SAP, for mass loads (~ 1.000.000 persons), to a standard = HL7-A08 message. The problem I have now, is a simple one, but I did not find a solution! = We have, in our SAP system, sometimes strange characters stored, for = example a '#' in an address field. Now, to be able to parse the HL7 = message, generated by HAPI, in our subsystem, I would need to encode the = message in ISO-8859-1 encoding format (for those special characters). In = the PipeParser-class, which I use to encode, I found a method = "encode(Message, String)" which should use a special encoding to = generate the message. But, unfortunately ISO-8859-1 seems not to be = supported, as I always get an EncodingNotSupportedError! So, my question would be, if there is a possibility to encode in = ISO-8859-1 or maybe there is another method that I did not find yet?! =20 Thanks a lot in advance for your help! =20 Regards Bernhard B=F6hm =20 |