Subject: The mailing list for listmasters using Sympa
List archive
- From: Olivier Salaün - CRU <address@concealed>
- To: Anders Lund <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] RSS and character encoding
- Date: Wed, 02 Nov 2005 13:31:47 +0100
|
Well encoding is not an easy topic to cope with ; sympa is not too bad
at it but it could be better : The encoding used for the RSS XML document is determined by Sympa with the following order of priority : user preffered language > list language > virtual robot language > site language Current versions of Sympa don't use the "web_recode_to" parameter for the RSS feed. I've changed this behavior in the CVS tree, here is the patch : http://sourcesup.cru.fr/cgi/viewcvs.cgi/sympa/wwsympa/wwsympa.fcgi?_only_with_tag_=sympa-5_1-branch&r2=1.560.2.11&r1=1.560.2.10&makepatch=1&diff_format=u But this patch will not really fix your problem because "web_recode_to" only applies to translatable strings, not to other data such as :
To summarize the current situation : Let's consider the RSS feed of latest messages in a list ; it will have correct encoding if :
Otherwise you might have some broken encoded characters in the RSS feed... Anders Lund wrote: A little addition to what I said. The message sent from Thunderbird was with character encoding ISO-8859-1. If I send using UTF-8 I get the same result as with posting through the web GUI. I've sent 3 messages now: 1) through the web interface 2) with Thunderbird and ISO-8859-1 3) with Thunderbird and UTF-8 The resulting RSS feed has <?xml version="1.0" encoding="us-ascii"?> and <language>en_US</language> and includes UTF-8 characters from message 1 and 3, but ISO-8859-1 from message 2. So my question is if it is possible to change this in a way that should give correct result in all RSS readers? |
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-
[sympa-users] RSS and character encoding,
Anders Lund, 11/01/2005
-
Re: [sympa-users] RSS and character encoding,
Anders Lund, 11/02/2005
- Re: [sympa-users] RSS and character encoding, Olivier Salaün - CRU, 11/02/2005
-
Re: [sympa-users] RSS and character encoding,
Anders Lund, 11/02/2005
Archive powered by MHonArc 2.6.19+.