Passing special characters in soap data

Ombongi Moraa Fe moraa.lovetakes2 at gmail.com
Tue Apr 30 07:50:31 EDT 2013


Hi Team,

My provider sends soap data to me as they receive from subscriber. as
expected the messages with special characters like quotes are received as
html entities.

like the message below had a quote:

<?xml version="1.0" encoding="utf-8" ?><soapenv:Envelope
...<message>I'll shape it up myself</message>...
</soapenv:Body></soapenv:Envelope>


Since i pass this data into my python script as a command line call, i get
the error:

/bin/sh: Syntax error: Unterminated quoted string



how can i resolve this and any other html entities i receive?

Saludos

Ombongi Moraa Faith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130430/2e3dff89/attachment.html>


More information about the Python-list mailing list