csvs.py
2.92 KB
-
Ensure correct CSV headers for non-English · 17b16b11
If we pass non-ASCII strings to create_csv_response, it will call unicode() on it, and fail with UnicodeDecodeError. So pass Unicode strings, or ASCII-only bytestrings for the headers.
Ned Batchelder committed