Bugs item #1440831, was opened at 2006-03-01 09:04 Message generated for change (Comment added) made by gbrandl 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: Closed >Resolution: Fixed Priority: 5 Submitted By: Rodrigo Daunoravicius (rodelrod) >Assigned to: Georg Brandl (gbrandl) 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]) ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2006-03-07 13:47 Message: Logged In: YES user_id=849994 Thank you, fixed in rev. 42887. ---------------------------------------------------------------------- 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