Hy guys,
I am having a problem with characters encryption, hopefully somebody can help me...
So:
I am trying to send an email with SMTP auth and the chars are arriving to my account like this
i.e.: 100€ show like 100€
The hole process is like:
1- I select from a database the info I need
2- then I urldecode the data because I urlencoded it earlyer
3- then i use my sendEmail function and "shit happens".
I have tried to display the email in the browser and if I dont set the header like this:
"<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />"
the result is exacly the same as in my email.
Also I am putting the header in the email like this:
function html($html, $charset = 'utf8', $encoding = 'quoted-printable', $disposition = 'inline'){
.
.
.
$hhtml = 'Content-Type: text/html;'.$this->_crlf."\t".'charset="'.$charset.'"'.$this->_crlf.
'Content-Transfer-Encoding: '.$encoding.$this->_crlf.
'Content-Disposition: '.$disposition;
.
.
.
}
This is a function from SMTP class.