Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9291 closed (fixed)

SyndicationFeed.writeString(encoding) documentation uses broken encoding example

Reported by: wiremine@… 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: UI/UX:

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 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(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).

comment:2 Changed 8 years ago by Malcolm Tredinnick

(In [9137]) [1.0.X] 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).

Backport r9133 from trunk.

comment:3 Changed 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

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