Opened 7 years ago

Closed 7 years ago

Last modified 6 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:
Needs tests: Patch needs improvement:
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 7 years ago by mtredinnick

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

(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 7 years ago by mtredinnick

(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 6 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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