[ejabberd] Help me diagnose this error when registering over xmlrpc
badlop at gmail.com
Thu May 19 14:00:44 MSD 2011
2011/5/19 Eric Chamberlain <eric at ringfree.com>:
> =ERROR REPORT==== 2011-05-18 19:54:59 ===
Now you get the same error, with a different list of integers.
This means you face the same problem, but this time provided the
username in a different encoding, right?
> We are running python 2.6.5.
$ python --version
> When I run your script (our port and host) I still get the 500 error for non-ascii users. Why would the script work on your setup and not mine?
Maybe you are not running exactly my script:
check that the username is written using UTF-8 in your local file.
I use this dirty way to check the encoding:
$ mv register.py register.py.txt
$ firefox register.py.txt
Then I go in the browser menus, and I select Character Encoding: Unicode (UTF-8)
And the username is displayed correctly, so I know the python script
contains it in the correct encoding.
More information about the ejabberd