Dear Team,
I have a requirement to encode UNEDIFACT data in “iso-8859-1”(ANSI) format to handle the special characters.
Integration Server is considering UTF-8 as the default encoding format when the document is submitted to TN. I have tried the below approaches to change it, but no luck.
- 
Added “$contentEncoding” parameter with the value as ‘iso-8859-1’ in ‘TN_params’ for “tn.doc.xml:routeXML” step. 
- 
Tried add the encoding parameter in “wm.b2b.edi.util:addICEnvelopeEDIFACT” , wm.b2b.edi:convertToString 
- 
Tried to convert the EDI string to Node by giving encoding parameter and used “wm.tn.doc:recognize”. But the EDI document is not getting recognized at runtime. Hence i couldnt do the "tn:submit " step. 
Could you suggest me a way if anyone come across the same problem.
#webMethods#Integration-Server-and-ESB#edi