How to use xmlrpc properly with Korean (non-ascii characters)

Martin v. Loewis martin at v.loewis.de
Tue Oct 22 12:27:51 EDT 2002


Skip Montanaro <skip at pobox.com> writes:

> You have to be very careful when using XMLRPC with non-ASCII data.  Many
> other implementations (such as Ken MacLeod's Frontier package in Perl) will
> complain about XMLRPC encodings which contain non-ASCII data (at least out
> of the box).  

I think it is time to drop this limitation. Any scheme to work around
the limitation will require both ends to agree on the
work-around. Therefore, you could just as well use the
straight-forward solution that comes right out of the XML spec.

Admittedly, that may require changing the xmlrpc libraries being used,
rather than putting something on top of them. However, that shouldn't
be too difficult, assuming that those libraries somehow use an
underlying XML parser.

Regards,
Martin



More information about the Python-list mailing list