Changes between Initial Version and Version 1 of Ticket #24985


Ignore:
Timestamp:
06/15/2015 11:19:20 AM (5 years ago)
Author:
Michael Wood
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24985 – Description

    initial v1  
    1 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].
     1I 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).
    22
    33I'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 ?
     
    55At the moment I'm working around this issue with a regex which replaces this range of chars.
    66
    7 [1] http://www.w3.org/TR/REC-xml/#charsets
     7(1) http://www.w3.org/TR/REC-xml/#charsets
Back to Top