Japanese php contact form producing garbled emails
Posted on 2005-02-25
I am having difficulty building a php contact form which can handle Japanese characters. Originally the script simply emailed the fields of the form to an address as plain text. I was not surprised that this didn't work when Japanese characters were inserted, and so I have tried sending the form as a html email with character encoding set first to utf-8 and then to euc-jp, but neither produced the correct result. Even when setting the encoding language within the email client to Japanese the result was garbled. Perhaps the form itself needs to be set up in a special way?
Does anybody know of a place where I could have a look at some Japanese contact form php code to compare?