Opened 16 years ago
Closed 16 years ago
#516 closed defect (bug) (fixed)
RSS Feed is Not Correctly Encoding HTML Entities
Reported by: | cawoodm | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | 2.0 | |
Component: | Keywords: | feed, rss, entity, encoding | |
Cc: |
Description
/members/cawoodm/activity/feed
This link in our BP generates an RSS feed in which german umlauts (e.g ü) are encoded as HTML entities (e.g. ü) instead of being left as they are. This makes the feed invalid because the entities are not defined.
Our site's encoding is UTF-8 and this is reflected in the HTTP Response headers (Content-Type: text/xml; charset=UTF-8). Yet BP is encoding, for example the feed title as:
<title>Marc Cawood - Aktivität</title>
INSTEAD OF:
<title>Marc Cawood - Aktivität</title>
What is the mechanism behind this? Is it done by echo() or the mysterious function _e()?
(In [1193]) Fixes #516