Fixes https://pagure.io/pagure/issue/584
As you have updated some unit test, maybe this would be the good opportunity to add some non ASCII characters in it ?
Let's see
Ok, started :)
(With the non-ascii tests that is)
looks good to me :)