2006 May 31 2:52 PM
Hi guys,
I use http_post to get data(xml format string)from a servlet,but in response_body_itab,I got messed codes(chinese character messed,other characters were ok),Does anyone can help? thanks very much.
Pole
Check the codepages. Might be different in the enternal application and in SAP.
Can you make the servlet somehow Unicode compilant?
I think it's related to codepages.
Peter
2006 May 31 2:54 PM
Check the codepages. Might be different in the enternal application and in SAP.
Can you make the servlet somehow Unicode compilant?
I think it's related to codepages.
Peter
2006 Jun 01 5:08 AM
Peter,thanks for your reply.
Do you mean that we should compile the external application in Unicode?
Can we set the codepage before calling http_post?
because the external application is a interface program from a bank,maybe it is difficult to change it.
Pole
2006 Jun 01 7:50 AM
Hi Pole,
OK, if it's an external bank application and not an inhouse development, it's definetely difficult to change.
What I could suggest is to check the RFC destination settings in the SAP system. Maybe you can change something there.
For SAP-SAP connections, if I go to menu System Information -> Target system I can see the followings:
Character Set 1100
Integer BIG
Floating Point IE3
Might be helpful to see if it's different. I'm not sure if this info is available in non-SAP systems.
I think it's also worth to try to generate XML file and check the content with a Web Browser/XML editor where you can change the codepage.
Peter
2006 Jun 01 9:18 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |