Bugs item #1440831, was opened at 2006-03-01 10:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1440831&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Submitted By: Rodrigo Daunoravicius (rodelrod) Assigned to: Nobody/Anonymous (nobody) Summary: UnicodeWriter: "utf-8" hardcoded instead of self.encoding Initial Comment: In the Python Library Reference, 12.20.5 Examples. In the UnicodeReader/UnicodeWriter example. class UnicodeWriter: ... | def writerow(self, row): | | self.writer.writerow([s.encode("utf-8") for s in row]) should be: class UnicodeWriter: ... | def writerow(self, row): | | self.writer.writerow([s.encode(self.encoding) for s in row]) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1440831&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com