Skip to Content
Sep 05, 2013 at 06:14 AM

Issue with Encoding - ByteOrderMark required for receiver File


Hi All,

Recently I have found a encoding issue in one of my interfaces. This interface is currently a PassThrough interface( I am not using any ESR objects), where I receive messages from Sender System in a CSV file with a UTF-8 Encoding without BOM.

However the receiver system wants the file with UTF-8 BOM encoding, I am currently using MessageTransformBean & textCodepageConversion bean to convert the charset from UTF-8 to UTF-8-BOM, however the special BOM characters are not generated in receiver message. Since the receiver system strictly needs the BOM characters, it rejects the message.

Any other alternative, which I can try in order to add the BOM characters in receiver file. Appreciate your inputs.