[Vtigercrm-commits] [vtiger development] #5541: Webmail bug with accent letters
vtiger development
vtiger-tickets at trac.vtiger.com
Sun Mar 8 22:26:11 EDT 2009
#5541: Webmail bug with accent letters
----------------------------+-----------------------------------------------
Reporter: Bruno.Fr | Owner: developer
Type: defect | Status: new
Priority: blocker | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-val1
Keywords: webmail accent |
----------------------------+-----------------------------------------------
I have check some problems with accent in webmail. The body or subject
stop at the first accent letter
TO solve this, in module/Webmails/Webmails.php
change line 756 from
if (strtolower($body_charset) == "us-ascii") {
$body_charset = "UTF-8"
to
else {
$body = utf8_encode($body);
$body_charset = "UTF8";
}
with :
if(empty($body_charset))
{
$body_charset="ISO-8859-1";
}
else if ($body_charset == "utf8")
{
$body = utf8_decode($body);
$body_charset = "UTF8";
}
$GLOBALS['charset'] = "UTF-8";
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5541>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list