Opened 18 years ago

Closed 17 years ago

#2585 closed defect (wontfix)

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

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

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 by Adrian Holovaty, 18 years ago

priority: normallow
Severity: majornormal

comment:2 by Simon G. <dev@…>, 18 years ago

Triage Stage: UnreviewedDesign 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 by Malcolm Tredinnick, 17 years ago

Resolution: wontfix
Status: newclosed

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