FORUM IS CLOSED. PLEASE USE QUESTIONS / ANSWERS PAGE INSTEAD
Login  |  Forum  |  Search   

Board index » Development » Bug report




Post new topic Reply to topic  [ 6 posts ] 
 
Author Message
 Post subject: v1.15 Admin-Email Queue-Preview ascii display
 Post Posted: Tue Feb 28, 2012 1:09 am 
Offline

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.

Top 
 Profile  
 
 Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display
 Post Posted: Tue Feb 28, 2012 8:04 am 
Offline
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


Top 
 Profile  
 
 Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display
 Post Posted: Tue Feb 28, 2012 8:07 am 
Offline

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 :-)


Top 
 Profile  
 
 Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display
 Post Posted: Tue Feb 28, 2012 8:10 am 
Offline
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?


Top 
 Profile  
 
 Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display
 Post Posted: Tue Feb 28, 2012 8:24 am 
Offline

Joined: Wed Jul 27, 2011 10:12 am
Posts: 330
Location: Hong-Kong
It is safari, wait I will tests all others.


Top 
 Profile  
 
 Post subject: Re: v1.15 Admin-Email Queue-Preview ascii display
 Post Posted: Tue Feb 28, 2012 8:31 am 
Offline

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.


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 6 posts ] 

Board index » Development » Bug report


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron