| Author |
Message |
|
Stf
|
Post subject: v1.15 Admin-Email Queue-Preview ascii display Posted: Tue Feb 28, 2012 1:09 am |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
If you are in Standard-Configuration and edit the error messages (404 x 4) and use accentuated, chinese, etc characters, go to Admin-Email Queue, click on preview and you get some gremlins...
Â
Error 404 - Mistyped URL
Â
对ä¸èµ·, æ¤ç½‘页ä¸å˜åœ¨.
Â
Nous sommes désolés, il semble que la page demandée n'existe plus.
Last edited by Stf on Tue Feb 28, 2012 8:28 am, edited 1 time in total.
|
|
 |
|
 |
|
maskas
|
Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display Posted: Tue Feb 28, 2012 8:04 am |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
If it happens only editin 404 error message, then I have no clue  if it happens all around the website, then you need to change your database collation to utf8 viewtopic.php?f=7&t=691
|
|
 |
|
 |
|
Stf
|
Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display Posted: Tue Feb 28, 2012 8:07 am |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
DB is in utf8. You only see the gremlins when you click the preview button in the CMS. The messages on the site and email are ok 
|
|
 |
|
 |
|
maskas
|
Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display Posted: Tue Feb 28, 2012 8:10 am |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
|
Now I get it. You probably use chrome. Chrome for some reason don't get encoding when it is in email format. Preview shows exactly the same html as it would be send to email client. And chrome does not understand that. The email itself should be fine if it is fine using different browser. Is that your problem or you experience something else?
|
|
 |
|
 |
|
Stf
|
Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display Posted: Tue Feb 28, 2012 8:24 am |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
It is safari, wait I will tests all others.
|
|
 |
|
 |
|
Stf
|
Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display Posted: Tue Feb 28, 2012 8:31 am |
|
Joined: Wed Jul 27, 2011 10:12 am Posts: 330 Location: Hong-Kong
|
|
The html code you get in the popup window is pure text, no encoding, no heading, nothing.
<p> </p> <p><b>Error 404 - Broken Link</b></p> <p> </p> <p>对ä¸èµ·, æ¤ç½‘页ä¸å˜åœ¨.</p> <p> </p> <p>Nous sommes désolés, il semble que la page demandée n'existe plus.</p> <p> </p>
In safari you must go to ~Display-Encoding and choose UTF8 to make it appears correctly. I think it is normal, if you do not define an encoding, it must show it like that.
These 'gremlins' are also valid characters (© ½ œ...) that one could have typed, so it must show them as is.
|
|
 |
|
 |
|