Issue with Encoding - ByteOrderMark required for receiver File
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.
Resolved it by Creating the ESR Objects and a UDF to add the BOM characters. Since the constants assignment did not work in my case as I was receiving file in UTF-8 case already.