Bug 11944: replace uri_escape with uri_escape_utf8 everywhere