largersmallernormaltext version of this page

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0014238 [phplist] Internationalization (l18n) minor always 22-04-08 15:07 26-05-09 12:34
Reporter cbrunet View Status public  
Assigned To
Priority normal Resolution duplicate  
Status resolved   Product Version CVS
Summary 0014238: Wrong encoding of pages
Description Pages in backend are encoded as ISO-8859-1 (because the meta content-type tag), but output messages from processqueue or processbounces are encoded in UTF-8. Either change the page encoding to utf-8 (better) or decode html entities to latin1 if you want it to display correctly.
Additional Information
Tags No tags attached.
Attached Files ? file icon encoding.patch [^] (2,779 bytes) 22-04-08 15:32

- Relationships
duplicate of 0001644new Subject error with UTF-8 encode in Traditional Chinese 

-  Notes
(0045543)
cbrunet (reporter)
22-04-08 15:32

Here is a patch
(0045587)
cbrunet (reporter)
22-04-08 19:04

Finally, my patch isn't good... You must use $GLOBALS["strCharSet"] instead of $strCharSet.
(0045808)
julian (reporter)
24-04-08 17:19
edited on: 24-04-08 17:20

This is a problem that is frequently reported in the forums. Some examples:

http://forums.phplist.com/viewtopic.php?t=8316&highlight=utf8 [^] [^]

http://forums.phplist.com/viewtopic.php?t=8172&highlight=utf8 [^] [^]

http://forums.phplist.com/viewtopic.php?t=16840&highlight=utf8 [^] [^]

Recently, a new problem related came up. The special characters didn't appeared correctly on the subject and footer of the emails sent.
By changing 'iso-8859-1' for 'UTF-8' on line 4 ( in the $strCharSet variable)
the proble fixed for the french language on the
lists/texts/[french].inc

The file , after it was changed said:

<?php
# language dependent text used in the interface for users (not admin)
# translation by Gijsbert Rochat, updated by Jean-Luc Picard
$strCharSet = 'ISO-8859-1';
$strName = 'Nom';
$strAddress = 'Adresse';
$strEmail = 'Courriel';
$strTown = 'Ville';
...

However, later on this solution also turned out to be incomplete, since when opening the mails on a mailing administrator like Firebird, the footer couldn't show the special characters propperly. It did display them perfectly on subject and footer using Gmail.

(0050599)
h2b2 (reporter)
25-03-09 03:49

Related to:
http://mantis.phplist.com/view.php?id=1644 [^]
http://mantis.phplist.com/view.php?id=15245 [^]


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker