Btw, maybe Standards.URI()->http_encode should be fixed at the same time? It doesn't seem to encode wide characters at all, and encodes 8-bit characters as %XX (iso-8859-1).
Also, is there a http_decode_string() function somewhere? Standards.URI()->path et all seems to return the string with escapes still in it. Is that the correct behaviour?