[SOLVED] p01-contact GREEK LANGUAGE - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: [SOLVED] p01-contact GREEK LANGUAGE (/showthread.php?tid=1668) |
[SOLVED] p01-contact GREEK LANGUAGE - kiriakos118 - 2011-05-06 My p01 contact form is working good. But about my language (it's greek)... when I get an email from my site (e.g. via Outlook ), on header field <name> is n't displaying correct (I see something like: Î@linux2.grserver.gr; ±@linux2.grserver.gr; .... ( i suppose it's one for each letter) note that everything else is displaying correctly. (subject, message e.t.c.) I made a small change in p01-contact.php Instead of this $tmp = htmlentities($tmp, ENT_QUOTES, 'UTF-8'); (line 271) I 've put this $tmp = htmlspecialchars($tmp, ENT_QUOTES, 'UTF-8'); now the senders <name> is apearing like ΞΞ1/2ΞΞΞΟΟΞΞΞΞ (but for some reason every other field appears correctly) I think that it's about utf-8 encoding in greek language. CAN ANYONE HELP ??? http://getsimple.tetepoulidis.gr (test site) [SOLVED] p01-contact GREEK LANGUAGE - kiriakos118 - 2011-05-20 In GETSIMPLEPATH/plugins/p01-contact/p01-contact.php file I put after Code: line 717 if(empty($name)) $name = $this->lang('nofrom'); Code: $name = '=?utf-8?B?' . base64_encode($name) . '?=';if(empty($name)) $name = $this->lang('nofrom'); |