Properly encode unicode chars when rendering strings from slugs.