Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Apr 2003 at 15:12 UTC
Updated:
28 Sep 2003 at 20:12 UTC
You can check here:
http://feeds.archive.org/validator/check?url=http%3A%2F%2Fsocietecivile....
or here:
http://feeds.archive.org/validator/check?url=http%3A%2F%2Finso.ath.cx%2F...
I submitted a patch few times ago on the list, but it was not received... You should only remove call to htmlentities in
format_rss_channel and format_rss_item (common.inc)
I can resubmit the patch if you want
Comments
Comment #1
dries commentedBut special HTML characters will not be encoded then?
Comment #2
dries commentedI think we are best of using UTF-8 (Unicode) encoding instead of ISO-8859-1. It would eliminate all problems with HTML entities. Furthermore, the RSS specification(s) assume(s) that the document is encoded as UTF-8 unless otherwise specified (thus UTF-8 being the default encoding).
See PHP's utf8_encode() function and note that you can specify the charset htmlentities() should use.
Comment #3
al commentedI think utf-8 has issues with pound signs. As in, GBP. # is a hash, £ is a pound. Damned Americans...
Comment #4
moshe weitzman commentedComment #5
dries commentedI have tested this extensively using French, German, Japanese and Korean characters and I am confident that this bug has been fixed. Marking it as such.
Comment #6
(not verified) commented