Hi all
I am making a site that contains a webshop. On the checkout page there is a pay button which opens a popup to the payment gateway. This popup window is controlled by the payment gateway and is encoded in iso-8859-1. My site is utf-8. I send variables to the popup through hidden fields in a form which I have stored in a chunk. Because of special danish chars (æ, ø and å) I get problems with encoding in the popup - they are not being show correctly.
I have tried to change the encoding in the backend to iso-8859-1 which solved my popup problem but creates a bunch of new ones so this is not an acceptable solution.
I have tried to encode theese special chars to eg. ø = ø but they are still encoded wrong in the popup. It seems modx translates ø.
Now my question is: Is there some way I can escape modx’s encoding for these special chars? Is there anyone who can think of a solution to this problem?
All help is greatly appreciated
Jonas
Hi.
OK. So no way of working around this keeping the charset to utf-8? Actually my database is already latin1 so I guess it’s not that bad to switch manager encoding. Thanks for the reply.
Jonas