Hi Jesus,

I talked it over with one of our people who knows Python around here. He 
agrees that this a tough one to solve with Python 2.

His suggestion is, if you're setting the default encoding to utf-8, suds 
should accept Unicode string containing non-ASCII characters. You could 
alternatively encode the Unicode string and send it as a byte string. Suds 
will likely have issues sending the request otherwise, and it doesn't fail 
gracefully (as you've experienced).

What you're experiencing is very difficult to troubleshoot and can 
sometimes be environment dependent.

Hope that helps,
Nadine, AdWords API Team

On Tuesday, November 17, 2015 at 6:11:09 PM UTC-5, Nadine Sundquist 
(AdWords API Team) wrote:

> Hi Jesus,
>
> I'm not a Python expert, so I'm going to ask around to see if one of my 
> colleagues has tried this before. I'll get back to you when I have an 
> answer.
>
> Best,
> Nadine, AdWords API Team
>
> On Tuesday, November 17, 2015 at 10:55:42 AM UTC-5, 
> jesus.rom...@ogilvy.com wrote:
>>
>> Hi, I already try  changing the default encoding but still doesn't works, 
>> can you tell me the encoding that the mutate function is suposed to read? 
>> becausa I have tried with unicode, UTF-8 and iso-8859-15 but with all of 
>> that I keep getting the same error.
>>
>> I don't know what the mutate function does internaly, but based on the 
>> error I'm guessing that at some point it tries to decode the string but I 
>> can't figure out from what encoding is trying to decode.
>>
>> thanks
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ad9f0f69-03e4-498f-86e4-8dc1a20d2078%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to