Specials | Announcements | Contact | Site Map
Willmaster.com
Hijack-proof forms. Surveys. List building.

Solid, safe website tools.

Whatever your need, Will Bontrager builds powerful software solutions.

Affiliate Cookie Setter
Search WillMaster.com:

WillMaster > Support > CGI Q&A

If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.

Master Feedback script chinese words not display correctly

Author Message
30Aug02

aszd
Subject: Master Feedback script chinese words not display correctly

Hello,

I use your Master Feedback script , it works for when some type englsih words
and click the send form,but when soemone type chinese words, and click the sendwhen i recvieved , the words do not display correctly
Can you let me know what is wrong, how to fix it to let chinese words
sumit and send correctly?

Thank you for your time!

aszd

belows are the chinese words sent by Master Feedback script which
the words do not display correctly

Name: 大大大
Email: aszd@263.net
IP: 211.154.211.202
Form: http://www.yesidol.tv/contactus/contactus.html
Message:
大大大大
-----
User Subject: 大大大

31Aug02

Will
In response to: Master Feedback script chinese words not display correctly

Pick up the latest version at
http://willmaster.com/master/feedback/

I upgraded the script to use character set ISO 8859-1

Probably that will do the job. Let us know.

7Sep02

aszd
In response to: Master Feedback script chinese words not display correctly

I already Pick up the latest version at
http://willmaster.com/master/feedback/

and it still canot display chinese correctly when send to my email

see here ;

http://photo.yesidol.tv/MasterFeedback/contactus.html

when i receive see charactre chaos;

Name: asz
Email: aszd@263.net
IP: 218.20.123.84
Form: http://photo.yesidol.tv/MasterFeedback/contactus.html
Message:
aszasdfasdf在某些方面在某些方面
-----
User Subject: 在某些方面

7Sep02

Will
In response to: Master Feedback script chinese words not display correctly

I did some research and I think the characters you're wanting to use will require 16-bit (or larger) characters. The Master Feedback script uses 8-bit characters.

We have no plans to upgrade Master Feedback for 16-bit characters. Maybe sometime, but not soon.

8Sep02

aszd
In response to: Master Feedback script chinese words not display correctly

I slove teh problem finally, teh problem is not yoru scritp have problem i tis the html page the meta;

i make change inot belows it works for chinese(gb2312 is chinese):

teh problem is cos my html page words is english and it is charset=iso-8859-1
so when submit chinese, it can not works
now change to charset=gb2312 , everything works fine, can recievd chinese words correctly ,

thanks!!!

another questions::
teh new scritp do not have this line:

@AuthorizedDomains = qw(http://www.yesidol.tv/contactus/contactus.html http://www.yesidol.tv/customerservice/customerservice.html);

why, does it emans have this line and delete this line both make the script works??

the previous scitp haev this line?

8Sep02

Will
In response to: Master Feedback script chinese words not display correctly

That line checks to see if the referrer is actually from your domain -- in other words, it checks to see if the form being used is on a domain in the list. It existed to help prevent unauthorized use of your script installation.

The line requires that the browser send referrer information to the script. Many people have that disabled in their browser or at their operating system. Settings to disallow logging, for example, kill the referrer information. Some personal firewalls kill it too.

So the reason I removed it is because many browsers were no longer providing the informaition, and those browser could not use the form.

Instead, now the destination email address is hard coded in the script. This makes the theft of your installation no longer desireable.

8Sep02

Will
In response to: Master Feedback script chinese words not display correctly

P.S. Thank you for letting us know what the solution was regarding the Chinese characters.