on 12-18-2012 1:53 PM
Hello friends,
I have a scenario: FILE x MAIL.
The file sender takes XML files on a FTP server.
The problem is that, the attachments are beeing send with some special characters.
Checking the Sender File payload, its ok.
Checking the Receiver Mail payload, we can see the special character.
The correct form is:
Prestação (braqzilian characters)
The wrong form is:
Prestação
Do you know how can I set the encoding to the receiver mail adapter?
Thank you so much,
Luciana R.
Hi Luciana,
If you want to encode the content of the e-mail message, use Content Encoding, It may solve your issue.
Regards,
Sagarika
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luciana,
Please find the below URL which may be helpful for you to resolve the issue.
Regards,
Sagarika
Hi Luciana,
An XML file's encoding is set in the XML header, which is later interpreted when parsing the XML, e.g. in the mapping. So first check in your payload whether encoding is UTF-8.
example:
<?xml version="1.0" encoding="utf-8"?>
Generally, the message payload of an XI message is treated as UTF-8 when it needs to be converted from or into a different encoding. So, what you specify in the File Sender channel is the source encoding for an encoding conversion to UTF-8. On the other hand, in the Receiver channel, you specify the target encoding for a conversion from UTF-8. If you configure a channel's File Type setting as "Binary", no conversion will be applied.
Use File Type -> text-> File Encoding = UTF-8,destEncoding=UTF-8, it may solve your issues.
Else find the below URL to achieve this by using xml anonymizer bean.
http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm
Regards,
Sagarika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.