Best Regards,
Jesaja Everling
> --
> You received this message because you are subscribed to the Google Groups "tipfy" group.
> To post to this group, send email to ti...@googlegroups.com.
> To unsubscribe from this group, send email to tipfy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tipfy?hl=en.
>
>
Best Regards,
Jesaja Everling
Best Regards,
Jesaja Everling
i think this makes sense. I haven't used the paypal API myself yet,
but apparently it returns the values as url-encoded utf-8 characters.
It seems you can tell paypal which character set to use:
"Setting the Character Set – charset
You can use the charset HTML variable to specify the character set or
character encoding of the data you collect in your website forms and
send to PayPal. PayPal sends data to you in the same character set or
encoding you specify with the charset variable. For example, the
following INPUT tag sets the encoding to UTF-8:
<INPUT TYPE="hidden" name="charset" value="utf-8">"
https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_formbasics
I think they probably use utf-8 as default if this variable isn't set.
After decoding the URL-string, you end up with an utf8-encoded
bytestring, and still have to convert it to unicode using
"".decode('utf-8').
Best Regards,
Jesaja Everling