PayPal IPN charset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
So I'm in charge of live legacy app which uses PP as one of the payment methods. Currently the app still uses old NVP api.
What bothers me is that in app logs I can see that whenever IPN sends something to our listener there's always a field:
charset=windows-1252
I assume it's the source of many evil things in our app; e.g. confirming to IPN that we received the message. We have a lot of rejected confirmations (cmd=_notify-validate) by IPN which could be the problem if some characters are encoded in the IPN message by win-1252 and our app sends them back as utf-8.
So I would like to change these IPN messages to UTF-8. I've found this solution in the depths of the internet:
http://jlchereau.blogspot.com/2006/10/paypal-ipn-with-utf8.html
Is it still valid? Can you provide a link? I've tried this on my personal/sandbox account and I was unable to find it.
Regards,
Artur.
- Labels:
-
IPN

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.paypal.com/cgi-bin/customerprofileweb?cmd=_profile-language-encoding
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have updated my profile setting for my sandbox account to send UTF-8 encoded messages however it seems the payment details are still being sent using windows-1252 encoding. Are there any other tricks to getting this to work in the sandbox account ?
Thanks

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Error message for obtaining access_token in REST APIs
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Which api can get oauth2.0 authorization_code? in REST APIs
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs