Necko: Difference between revisions

332 bytes added ,  15 October 2005
Line 12: Line 12:


* Support unicode file paths.  This impacts the way we encode file URLs.  Currently, we encode them in the "native filesystem charset" and then %-escape any non-ASCII bytes.  This is not going to work if we wish to support full unicode file paths because the conversion from unicode to "native filesystem charset" may be lossy.
* Support unicode file paths.  This impacts the way we encode file URLs.  Currently, we encode them in the "native filesystem charset" and then %-escape any non-ASCII bytes.  This is not going to work if we wish to support full unicode file paths because the conversion from unicode to "native filesystem charset" may be lossy.
* Optimize nsIURI construction (nsStandardURL::SetSpec).  We may be able to shave off some cycles here by ensuring that the input string is assigned directly to mSpec when it is determined that no canonicalization is required.  This will in many cases allow us to simply share the given string buffer instead of having to copy it.
272

edits