- marinamercanteAsked on January 22, 2017 at 04:27 AM
Hi can you help me with seting the code in thank you page to encode in utf. My form is in spanish and as you will guess we use ñ and accents that are not passing in the correct format to my database, the collation on my database and table is set to utf8_general_ci but data is input in my database with replace charset for spanish Ñ and accents.
Where can I fix that in the code to post in utf8 or the input part.
- JotForm SupportJim_RAnswered on January 22, 2017 at 06:56 AM
Based on the previous thread, I'm assuming you're receiving the data via POST method. I'm not a PHP developer but have you tried using the utf8_encode PHP function? The Thank You page in itself doesn't have any setting nor option to set the char encoding.
Please give that a try and I'd also recommend this article as a quick checklist in case you missed something.