on 07-18-2008 9:08 AM
Hello,
I've implemented mail-to-file scenario and it works well except one thing. If the mail received by XI contains some special characters the characters are replaced by some others.
For example:
Email body contains text : Na Strži
Mail adapter creates payload which contains text : Na Str=BEi
or
Email body contains a few <new line> characters but they all are replaced by =20
I think that it's problem on side of Mail Adapter but I don't know whether some way to avoid it exists.
Could you advice to me, please? Thank you!
Best regards,
Zbynek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
maybe this is more helpful:
Regards
Patrick
So the problem is solved.
I configured my Sender Mail Adapter to generate Base64 encoded payload. When I wanted to process the payload, at first I carried out Base64 decoding. It worked fine but the decoded payload contained the wrong characters as I mentioned. Then I found out that the payload is Quoted-Printable encoded too so I had to ensure QP decoding after Base64 decoding. So it seems the QP encoding is used automatically.
Anyway thanks a lot you all!
Regards
Zbynek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zbynek,
In your source message structure I suppose you are using the standard structure from the namespace http://sap.com/xi/XI/Mail/30. If not you can download it from SAP service marketplace. See [this link|http://www.riyaz.net/blog/index.php/2008/02/27/xipi-configuring-the-sender-mail-adapter/] for configuration steps.
Specify the correct value under the Content_Type node of the message type Mail e.g. something like below -
......
<Content_Type>text/plain;charset="US-ASCII"</Content_Type>
......
The content type is dependent upon the content you wish to send and charset will correspond to character set/encoding etc.
Hope this helps.
Regards,
Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the encoding that u are using?
it should be ISO-8859-1
Edited by: Progirl Progirl on Jul 18, 2008 2:14 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.