WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsITextToSubURI

IID:8B042E24-6F87-11d3-B3C8-00805F8A6670
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

char* ConvertAndEscape ( char* charset , PRUnichar* text ) PRUnichar* UnEscapeAndConvert ( char* charset , char* text ) AString unEscapeNonAsciiURI ( ACString charset , AUTF8String URIFragment ) AString unEscapeURIForUI ( ACString charset , AUTF8String URIFragment )

char* ConvertAndEscape ( char* charset , PRUnichar* text )

Arguments:
charset
text

PRUnichar* UnEscapeAndConvert ( char* charset , char* text )

Arguments:
charset
text

AString unEscapeNonAsciiURI ( ACString charset , AUTF8String URIFragment )

Unescapes only non ASCII characters in the given URI fragment note: this method assumes the URI as UTF-8 and fallbacks to the given charset in case the data is not UTF-8

Arguments:
charset: the charset to convert from
URIFragment: the URI (or URI fragment) to unescape
Returns:
Unescaped aURIFragment converted to unicode

AString unEscapeURIForUI ( ACString charset , AUTF8String URIFragment )

Unescapes the given URI fragment (for UI purpose only) Note:

Arguments:
charset: the charset to convert from
URIFragment: the URI (or URI fragment) to unescape
Returns:
Unescaped aURIFragment converted to unicode

Reference documentation is generated from Mozilla's source.