Opened 9 years ago

Closed 8 years ago

#2585 closed defect (wontfix)

no Syndication feeds (RSS and Atom) codepage select (some similar to #2584)

Reported by: anonymous Owned by: adrian
Component: contrib.syndication Version: master
Severity: normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

some similar to #2584
Django works only with utf8 codepage in Syndication feeds (RSS and Atom) (and maybe much more others places).

In django/contrib/syndication/feeds.py hardcode defined utf-8 codepage in .decode('utf-8') conversions everywhere.

Better to move this option out to settings.py as RSSATOM_CODEPAGE or try to extract this data from DEFAULT_CHARSET

Change History (3)

comment:1 Changed 9 years ago by adrian

  • priority changed from normal to low
  • Severity changed from major to normal

comment:2 Changed 9 years ago by Simon G. <dev@…>

  • Triage Stage changed from Unreviewed to Design decision needed

So the suggestion is to enable a user selected charset for RSS feeds? is it really that common to not want UTF-8?

comment:3 Changed 8 years ago by mtredinnick

  • Resolution set to wontfix
  • Status changed from new to closed

I'm not convinced this is needed. Every XML parser is required to be able to understand UTF-8 and Python has excellent support for encoding data into UTF-8. I'm not sure what benefits any extra configuration brings us.

Note: See TracTickets for help on using tickets.
Back to Top