Menu

#7 XMLRPC and Asian characters

open
5
2014-08-18
2005-02-07
d0c 54v4g3
No

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

Discussion

  • d0c 54v4g3

    d0c 54v4g3 - 2005-09-18
    • labels: 708807 --> File-handling
    • assigned_to: nobody --> d0c54v4g3
     
  • d0c 54v4g3

    d0c 54v4g3 - 2005-09-18

    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

     

Log in to post a comment.