ckan / ckanext-issues

CKAN Issues Extension
https://github.com/ckan/ideas-and-roadmap/issues/4
MIT License
14 stars 31 forks source link

Format the unicode string in helpers.get_issue_subject #68

Closed dlax closed 7 years ago

dlax commented 7 years ago

I.e. apply .format() on the result of toolkit._() instead of the other way arround.

This fixes a UnicodeDecodeError that may occur if, for instance, dataset.title has non-ASCII characters.

davidread commented 7 years ago

Thanks!