#24985: Rss201rev2Feed invalid characters in character data for RSS -------------------------------------+-------------------- Reporter: michaelgwood | Owner: nobody Type: Bug | Status: new Component: contrib.syndication | Version: 1.7 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------- I have some data which comes from log files that I'd like to put into a RSS feed, unfortunately due to the nature of this data it sometimes contains control characters e.g. \0001 \0003 , this causes it to fail RSS feed reader validation due to these characters (although valid utf-8) are not allowed [1].
I'm not sure if this is something that should be fixed in this module, perhaps in sax/saxutils or in somewhere like django.utils.encoding force_text ? At the moment I'm working around this issue with a regex which replaces this range of chars. [1] http://www.w3.org/TR/REC-xml/#charsets -- Ticket URL: <https://code.djangoproject.com/ticket/24985> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/055.6c8804437b81131bf59c33bc579cf1ed%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.