XMLRPC and Asian characters
Status: Beta
Brought to you by:
d0c54v4g3
This occurs on all versions of Rufus, under XP sp2
### old relevant data taken from BitMagnet trackers###
The XMLRPC server gives an error when a file with Asian
characters is double-clicked on when BitMagnet is open.
The error:
Traceback (most recent call last):
File "xmlrpcserver.pyo", line 37, in xml_do_POST
File "xmlrpclib.pyo", line 1012, in loads
File "xmlrpclib.pyo", line 528, in feed
ExpatError: not well-formed (invalid token): line 6,
column 78
This is an expat problem with encoding. It might even
be worth rewriting the XMLRPC to just use a standard
sockets RPC and seperate the web interface from the RPC
completely.
d0c
Logged In: YES
user_id=1112940
After checking into this further the problem lies with the
argv command not supporting unicode. This is going to be
addressed in a future version of Python. Patches are
available to fix this but I will wait until added officially
so that Rufus can always be built with standard libraries.
d0c