Can't escape \x{2019}, try uri_escape_utf8() instead