StratusLab / client

Command Line Interface (CLI) for StratusLab cloud services
Apache License 2.0
2 stars 1 forks source link

xml handling fails when using non-ascii characters #122

Closed loomis closed 10 years ago

loomis commented 10 years ago

The etree.fromstring() method doesn't handle unicode input without explicit encoding. This is a known problem, but won't be fixed because the Python 2.x series is essentially frozen. (This does work correctly in Python 3.)

The StratusLab codebase needs to work around this problem by explicitly encoding the XML input when necessary.