You should make sure the form is using the same character encoding as your website. By default the Quform works with UTF-8 encoding and will expect form data sent from your web page to be in this encoding. If you are using the form in another language and if you have strange characters in the email or similar issues this may be something to you need to check.
Using UTF-8 encoding (recommended)
Quform is already set up to use UTF-8 encoding, to set your web page to use UTF-8 encoding, insert the following meta tag just after the opening <head>
tag of the web page your form is on:
For HTML5 websites
1 | <meta charset="UTF-8"> |
<meta charset="UTF-8">
For HTML4 / XHTML1.0 websites
1 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Using another encoding such as ISO-8859-1
If your web page uses another charset and you want the Quform to use the same charset, you change the existing code that sets the charset inside common.php (for example to use the ISO-8859-1 charset):
1 | defined('QUFORM_CHARSET') || define('QUFORM_CHARSET', 'ISO-8859-1'); |
defined('QUFORM_CHARSET') || define('QUFORM_CHARSET', 'ISO-8859-1');
For a list of all valid character encodings, see the charset section of this page.