var u:URI = new URI("http://test.com/"); u.chdir("al%e9atoire/"); currently this breaks (%e9 isn't UTF-8, it's ascii) with an exception from decodeURI http://www.w3schools.com/tags/ref_urlencode.asp http://www.utf8-chartable.de/ The way I fixed this was changing these two functions in URI.as: ``` static public function unescapeChars(escaped:String /*, onlyHighASCII:Boolean = false*/) : String { return unescape(escaped); } static public function fastEscapeChars(unescaped:String, bitmap:URIEncodingBitmap) : String { return escape(unescaped); } ```
var u:URI = new URI("http://test.com/");
u.chdir("al%e9atoire/");
currently this breaks (%e9 isn't UTF-8, it's ascii) with an exception from decodeURI
http://www.w3schools.com/tags/ref_urlencode.asp
http://www.utf8-chartable.de/
The way I fixed this was changing these two functions in URI.as: