[Soap-Python] UnicodeDecode error while passing parameters withfrench letters

azurIt azurit at pobox.sk
Fri Apr 13 15:47:31 CEST 2012


This has probably something to do with your console encoding (try to NOT print the output).

azur


______________________________________________________________
> Od: "Thomas AYIH-AKAKPO" <thomas.akakpo at gmail.com>
> Komu: <soap at python.org>
> Dátum: 13.04.2012 15:43
> Predmet: Re: [Soap-Python] UnicodeDecode error while passing parameters withfrench letters
>
>Le 13/04/2012 12:26, azurIt a écrit :
>> rpclib is a new version of soaplib (it was renamed), soaplib is already deprecated and NOT maintained. do not use it.
>>
>> azur
>>
>>
>>
>>
>
>
>Oh really? I didn't know soaplib was already deprecated.
>
>Though, I switched to rpclib and used the helloworld_soap example
>(https://github.com/arskom/rpclib/blob/master/examples/helloworld_soap.py) .
>
>By importing Unicode, and replacing String by this, it still didn't work.
>I still have to go by:
>
>>>>  sys.setdefaultencoding('utf-8')
>
>I am starting to assume that the UTF-8 encoding should be done
>on the client side.
>
>Regards,
>
>-- 
>Thomas
>
>_______________________________________________
>Soap mailing list
>Soap at python.org
>http://mail.python.org/mailman/listinfo/soap
>


More information about the Soap mailing list