I have a simple contact form (name, email, subject, message) which sends messages to email. I’ve set client-side validation with jQuery and server-side validation with PHP scripts. I’ve connected them with Ajax. And it works, but only when I insert data in Latin characters.
When I insert data in Cyrillic, the same form doesn’t work. It doesn’t send any message. I’ve searched Internet for similar topics, and YT for some tutorials, but after 4-5 days I still got nothing. Maybe it’s something like putting some codes in .htaccess file, but I realy don’t know.
This is a basic encoding issue. Make sure your form is set up to POST as UTF-8:
Also make sure your page is delivered using the correct headers:
Then make sure you are sending the email with correct UT8 headers. I found this code:
Source: http://bitprison.net/php_mail_utf-8_subject_and_message