ckan / ckanext-pages

A simple builtin CMS for CKAN sites
GNU General Public License v3.0
51 stars 101 forks source link

Fixed crash with accents in page title #47

Closed dpiquet closed 7 years ago

dpiquet commented 7 years ago

Hi, I was getting this error after adding a page with a accent in the name (développeurs): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 45: ordinal not in range(128)

I'm not really used to python but the modifications from this PR solved the issue (in my case at least).

Regards

dpiquet commented 7 years ago

I did check the issues but not the PRs.

I close this as duplicate (https://github.com/ckan/ckanext-pages/pull/46) !