Hi all,
Since my cart now discovered that some customers from other country that using non-english to input text on the "Contact Us" page.
What the e-mail that we received are changed to #454342; etc.
How to force only "Contact US" are using UTF-8 to send the e-mail out.
I know can change the html_header.php under common, but it will also make the whole web site be UTF-8 that what I don't want to, since the MySQL Database and other products that entered are using ISO-8859-1 for encoder....
and I open
\includes\templates\template_default\templates\tpl_contact_us_default.php
Find this line
<div class="centerColumn" id="contactUsDefault">
<?php echo zen_draw_form('contact_us', zen_href_link(FILENAME_CONTACT_US, 'action=send')) . 'accept-charset="UTF-8"'; ?>
It will output the HTML code on the front-end like below
<div class="centerColumn" id="contactUsDefault">
<form name="contact_us" action="http://www.rctoplist.com/testegrm/contact_us.html?action=send" method="post">
Then I try to change it by this below:
<div class="centerColumn" id="contactUsDefault">
<?php echo zen_draw_form('contact_us', zen_href_link(FILENAME_CONTACT_US, 'action=send')) . 'accept-charset="UTF-8"'; ?>
But it will show the HTML code on the front-end like that not what I want ...
<div class="centerColumn" id="contactUsDefault">
<form name="contact_us" action="http://www.rctoplist.com/testegrm/contact_us.html?action=send" method="post">accept-charset="UTF-8"Like what you see, the accept-charset="UTF-8" is not in the method="post"> or behind it
How to make the PHP code to output the HTML be that right one?
<div class="centerColumn" id="contactUsDefault">
<form name="contact_us" action="http://www.rctoplist.com/testegrm/contact_us.html?action=send" method="post" accept-charset="UTF-8"
>
Thank you very much.





