I hope this is not too specific a question... any thoughts are appreciated.
When someone fills out my contact form (UTF-8 encoded), the data correctly enters a MySQL database (UTF-8 encoded throughout) and a reply email is sent to the person who filled out the form (also UTF-8 encoded).
If the data is entered in English, all is good. If the data is entered in Japanese, the characters render correctly in the database, and the reply email (which takes their last and first names from the database, and is also completely written in Japanese) also renders correctly. All good, right?
On occasion though, the reply email renders the characters as Mojibake, even when sent to an address that usually renders kanji characters correctly.
I've been unable to replicate the error, but know it has happened as my client has sent a screenshot of the reply email. Has anyone else run into this problem? I'm at a bit of a loss. I use Sendmail software to send the emails.
Thanks