diff --git a/CHANGELOG b/CHANGELOG index 5ff67a9b..87f3c5b3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -33,3 +33,5 @@ Andreas Kotowicz. 2009-12-16 r147 Issue #119 Update Russian translation, thanks to Alex Yakovlev 2009-12-23 r148 Issue #125 Errors occurring when running reports with no data + +2010-01-20 r149 Issue #126 Reports didn't work with transalations. diff --git a/views/staff.py b/views/staff.py index ee353132..07626876 100644 --- a/views/staff.py +++ b/views/staff.py @@ -849,6 +849,7 @@ def run_report(request, report): for record in report_output: line = [] for c in columns: + c = c.encode('utf-8') line.append(record[c]) data.append(line)