Use for French Users
Hello, I bought the spent year GAZ however I fast abandoned its use because indeed it didn't recognize accents (such as éèÃÂ*...) does anybody know the solution to correct this bug?
Beforehand thank you. |
The charset used to send the newsletter might not necessarily be the charset that is used by the email reader. For example, in a newsletter I sent to myself, the ü in einfügen was changed to ü so in my email reader I saw einfügen (UTF-8) instead of einfügen (ISO-8859-1) though my email reader gave me the following message:
This message was written in a character set other than your own. If it is not displayed correctly, click here to open it in a new window.Once clicked, the word einfügen appeared correctly. That said, if you know what charset you want to use, look for the following code in the gaz_class_process.php file: Code:
$subject = $this->mailobj->encode_email_header(unhtmlspecialchars($subject, $unicode_decode), $encoding, false, false); |
Hello, thank's for your reply, could you help me for the code the charset is :
Code:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> Code:
$subject = $this->mailobj->encode_email_header(unhtmlspecialchars($subject, $unicode_decode), $encoding, false, false); |
Before that line add the following and see how it works:
Code:
$message = utf8_decode($message); |
Quote:
|
Hi Morgan,
can we have a fix in a future version? I don't like the idea to edit files manually. Every GAZ update you have to remember this and do it again so it should better be included automatically :-) |
The charset used to send the newsletter might not necessarily be the charset that is used by the email reader, so this isn't technically a bug in the code and so the 'fix' isn't going to go in the code, though in the next version a hook can be added so you can use a plugin to avoid a file edit.
|
All times are GMT. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.