Quote:
Phil, it is working now. However, I'm disappointed to find out that it does not support UTF-8 text encoding. Testimonials that are written in my language are rendered unreadable.
Is there a way to implement UTF-8 support?
|
Hi Pitak, sorry for the delay, here's what you do...
1) In testimonial_send.php
Before...
Code:
if (mysql_errno() == 0) {
Insert...
Code:
mysql_query("SET NAMES 'utf8'");
In the same file, replace the two instances of...
Code:
. "Content-Type: text/html; charset=\"ISO-8859-1\"\n"
With...
Code:
. "Content-type: text/html; charset=\"UTF-8\"\n"
2) In /admin/grid/inc/prepare_grid.php
Ensure this line appears after the opening <?php
If your prepare_grid.php file is encoded, use the attached.
Code:
mysql_query("SET NAMES 'utf8'");
Here is an example of Thia text in a testimonial