Fixed not being able to retrieve the permalink when it contains unicode characters
Merged unicode-permalinks branch