#9291 closed (fixed)
SyndicationFeed.writeString(encoding) documentation uses broken encoding example
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | feed | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The example for the SyndicationFeed.writeString() method on http://docs.djangoproject.com/en/dev/ref/contrib/syndication/ suggest an encoding 'utf8'
However, Internet Explorer doesn't like utf8, and throws an error. It does, however, use utf-8 (with the dash) without problems.
Change History (3)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
(In [9133]) Fixed #9291 -- Tweaked a piece of example code slightly to set a good example
for others (now uses an encoding that is guaranteed to work for XML consumers).