Forum Moderators: coopster

Message Too Old, No Replies

PHP FormMailer 3.0

problem with Japanese output

         

veltink

10:50 am on Nov 5, 2003 (gmt 0)

10+ Year Member



I am using the free PHP FormMailer 3.0 by dB Masters Multimedia and want to enable Japanese people to also leave their comments on our site.
I managed to get the result for the name in Japanese but the comments-area remain garbled when sent to me. Anyone out there with similar or the same problem with PHP-form scripts and Japanese? Do I have to change something in the way PHP is configured or is it a script problem? I contacted dB Masters Multimedia before but no reply yet. Be kind I am an absolute beginner in this world.

jatar_k

4:27 pm on Nov 5, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld veltink,

I don't do any asian charset scripts so I am not really sure. Anyone have any wisdom on this?

Timotheos

5:07 pm on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi veltink,

First place I'd start is with the encoding on the form page. My japanese form has this in the head section.

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=euc-jp">

If you want to be more international then you could go with Unicode.

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">

BTW, I'm checking out PHP FormMailer as I'm in the process of building my own personal form mailer. Trying to wean myself of formmail.pl ;-)

Timotheos

5:40 pm on Nov 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just looking through the script and noticed that if you select the mail type as "horz_table" or "vert_table" then it sends the email in html with an encoding of charset=iso-8859-1. I'd think that would mess up any other charsets.

Nice little script but it looks like they need to think more about internationalizing it.

veltink

6:02 pm on Nov 5, 2003 (gmt 0)

10+ Year Member



Thanks everyone for the response. I finally got in contact with the makers of FormMailer and they said they would start working on it right away. I'll keep you posted if they come up with a sollution.

Oscar