You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Guillaume ZITTA (JIRA)" <ji...@apache.org> on 2013/04/03 12:25:15 UTC

[dev] [jira] [Commented] (LIBCLOUD-306) XML response with utf-8 charset break thing with python 2

    [ https://issues.apache.org/jira/browse/LIBCLOUD-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620815#comment-13620815 ] 

Guillaume ZITTA commented on LIBCLOUD-306:
------------------------------------------

Hi,

I posted debug output, sample code (but the problem trigger is in the cloud response)
I also posted a patch proposal to fix the problem without the possibility of enable/disable it.

Again, I'm not a dev, I can't figure out any side effects.

VoilĂ 
                
> XML response with utf-8 charset break thing with python 2
> ---------------------------------------------------------
>
>                 Key: LIBCLOUD-306
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-306
>             Project: Libcloud
>          Issue Type: Bug
>         Environment: ubuntu 12.04, python 2.7, opennebula 3.8
>            Reporter: Guillaume ZITTA
>            Priority: Critical
>         Attachments: debug.log, test_utf.py, utf-8_python2.patch, utf-8_python2_xml.workaround.patch
>
>
> We have an opennebula with French accents in networks names.
> Listing networks leads to a crash because of these accents in the XML response of the cloud.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira