on 10-06-2009 11:27 PM
Hi All,
I need to send a symbol u2122
The HTML code is u201C™u201D u2122 Trade Mark Sign
ECC is sending u201C™u201D the u201C&u201D is transformed into & the at end looks like u201C™u201D
How should i handle this.
Thanks
The escape sequences are necessary to distinguish XML content and control signs such as &, < and >. The escape sequences start with an ampersand (&). For example: u2018&u2019 represents u2018&u2019 and u2018>u2019 represents u2018>u2019.
All XI components that convert between text and XML perform the escaping and deescaping of above-mentioned characters. In some cases, an external sender of an XML message does not provide this functionality and therefore a parsing error occurs
whenever an ampersand appears in the XML document. The only solution is to use a Java mapping before the actual mapping to perform the escaping.
So you need a Java mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Pls check the document for character encodings in PI.
Regards
Abhijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
>>ECC is sending u201C& #8482 ;u201D (the HTML value of trademark) the & is transformed "& amp; " into the at end looks like u201C & amp; #8482;u201D
You need to use XSLT for this. check this link
http://www.biglist.com/lists/xsl-list/archives/200101/msg00741.html
Regards
Suraj
You need to handle these characters using JAVA mapping: https://weblogs.sdn.sap.com/pub/wlg/9420 [original link is broken] [original link is broken] [original link is broken]
As shown include this mapping program aboev your Message Mapping in the Interface Mapping.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.