I believe that zen-cart is basically using UTF-8. I just came across the:
includes/functions/functions_email.php
that has the charset as:
CHARSET : "iso-8859-1";
Should it be changed to UTF-8?
Thanks!
Printable View
I believe that zen-cart is basically using UTF-8. I just came across the:
includes/functions/functions_email.php
that has the charset as:
CHARSET : "iso-8859-1";
Should it be changed to UTF-8?
Thanks!
You are misquoting the code.
The full line is this:And, if you read it correctly it uses iso-8859-1 only IF the constant for 'CHARSET' is not defined. And, since any properly installed Zen Cart WILL already have CHARSET defined, that means iso-8859-1 would never be used. That code is only a fallback for VERY RARE situations when CHARSET isn't defined.Code:$mail->CharSet = (defined('CHARSET')) ? CHARSET : "iso-8859-1";
And, if CHARSET is not defined, then there will be numerous far more serious issues.
So, in summary: ignore it.
Thank you!