return NS_NewURI(result, NS_ConvertUCS2toUTF8(spec), charset, baseURI, ioService);
return NS_NewURI(result, NS_ConvertUTF16toUTF8(spec), charset, baseURI, ioService);
NS_NewURI(nsIURI* *result,           const nsAString& spec,           const char *charset = nsnull,          nsIURI* baseURI = nsnull,          nsIIOService* ioService = nsnull)     // pass in nsIIOService to optimize callers{    return NS_NewURI(result, NS_ConvertUCS2toUTF8(spec), charset, baseURI, ioService);}