Merged in [11890] from rcross@amsl.com:
Modify monthly progress report to handle unicode characters in document titles.
- Legacy-Id: 11895
Note: SVN reference [11890] has been migrated to Git commit 98b9efdb02
This commit is contained in:
commit
714781d6c5
|
@ -19,4 +19,8 @@ django.setup()
|
|||
|
||||
from ietf.secr.drafts.reports import report_progress_report
|
||||
|
||||
print report_progress_report(sys.argv[1], sys.argv[2]),
|
||||
# handle unicode characters before attempting to print
|
||||
output = report_progress_report(sys.argv[1], sys.argv[2])
|
||||
output = output.replace(unichr(160),' ') # replace NO-BREAK SPACE with space
|
||||
output = output.encode('ascii','replace')
|
||||
print output,
|
||||
|
|
Loading…
Reference in a new issue