Make XML processing in InterpreterInfo independent of default encoding.
interpreterInfo.py emits now pure ASCII with XML-character-references.
It is now possible to use a Python interpreter located in a non pure
ASCII path.
Fix an invalid UTF-8 error while running Python unit tests.
For Python2, if a Python-file has a path that contains non ASCII
characters and the file system encoding is not UTF-8,
pydev_runfiles_xml_rpc.py created an invalid XMLRPC request.
This commit sets the encoding of the XMLRPC request to the file system
encoding.
During Python debugging the debugger sends file names as part of the
thread suspend message. If the debugger is running on Python2 file names
are byte strings encoded in the file system encoding. This patch
converts the names to UTF-8. Without this patch, the debugger GUI is
unable to locate the python source files.