|
Geek Gazette GAZ is a community newsletter management system. |
Advertisement | |
Learn how to remove ads |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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);
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
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); |
#4
|
||||
|
||||
Before that line add the following and see how it works:
Code:
$message = utf8_decode($message); $subject = utf8_decode($subject); $encoding = 'ISO-8859-1'; $unicode_decode = false;
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#5
|
|||
|
|||
Thank's i will try your soluce as soon as possible (end of may).
|
#6
|
||||
|
||||
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 :-) |
#7
|
||||
|
||||
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.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GARS 2.0 RC5 French translation [FR05 beta 2] | cclaerhout | Add-ons | 15 | 06-11-2007 11:20 AM |
How can Users subscribe? | Julian | Geek Gazette | 8 | 05-23-2007 06:52 AM |
GARS 2 RC2B French translation FR05 beta | cclaerhout | Geek Article and Review System | 3 | 07-24-2006 08:58 PM |
GARS GOLD 1.0c French translation | cclaerhout | Add-ons | 3 | 02-11-2006 09:40 AM |
Users Other Articles | Lizard King | Geek Article and Review System | 0 | 11-17-2005 04:40 AM |