What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to encode data in UTF8 format?

    Asked by marinamercante 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.

  • Profile Image
    JotForm Support

    Answered by Jim_R 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.