Changeset 8d3b651


Ignore:
Timestamp:
Feb 8, 2013, 6:22:49 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
ea8e8b6
Parents:
3cb9b1e
git-author:
Alex Dehnert <adehnert@…> (02/08/13 18:22:49)
git-committer:
Alex Dehnert <adehnert@…> (02/08/13 18:22:49)
Message:

Support UTF8 in the reporting interface (ASA-#196)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/groups/views.py

    r3cb9b1e r8d3b651  
    12481248            writer = csv.writer(response)
    12491249            writer.writerow(col_labels)
    1250             for row in report_groups: writer.writerow(row)
     1250            for row in report_groups:
     1251                utf8_row = [unicode(cell).encode("utf-8") for cell in row]
     1252                writer.writerow(utf8_row)
    12511253            return response
    12521254
Note: See TracChangeset for help on using the changeset viewer.