Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14777 closed (fixed)

The "Generating CSV" doc should mention Unicode issues.

Reported by: adamv Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The "Using the Python CSV library" section of the "Outputting CSV with Django" doc should speak to Unicode issues w/ Python's csv module, since Django slings unicode objects around. This project ( https://github.com/jdunck/python-unicodecsv ) attempts to be a drop-in replacement, and the docs for the csv module itself as a "UnicodeWriter" section at the bottom.

I'll work up a draft if there is interested.

Attachments (1)

csv-unicode.diff (1.1 KB) - added by adamv 3 years ago.
Initial patch

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

I've run into that issue as well, so I think a quick note would be great.

comment:2 Changed 3 years ago by jezdez

+1 Couldn't agree more!

Changed 3 years ago by adamv

Initial patch

comment:3 Changed 3 years ago by gabrielhurley

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

(In [14749]) Fixed #14777 -- Added docs on working around the Python CSV module's lack of Unicode support. Thanks to adamv for the report and draft patch.

comment:4 Changed 3 years ago by gabrielhurley

(In [14750]) [1.2.X] Fixed #14777 -- Added docs on working around the Python CSV module's lack of Unicode support. Thanks to adamv for the report and draft patch.

Backport of [14749] from trunk.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.