Overview | Namespace | Class | Index | Help |
rtl_UriCharClass | eCharClass ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
eCharClass | Any valid member of rtl_UriCharClass. |
rtl_uString * | pText, |
rtl_UriDecodeMechanism | eMechanism, |
rtl_TextEncoding | eCharset, |
rtl_uString * * | pResult ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
pText | Any Unicode string. Must not be null. (If the input is indeed part of a valid URI, this string will only contain a subset of the ASCII characters, but this function also handles other Unicode characters properly.) |
eMechanism | The mechanism describing how the input text is translated into a Unicode string. |
eCharset | When the decode mechanism is rtl_UriDecodeWithCharset, all escape sequences in the input text are interpreted as characters from this charset. Those characters are translated to Unicode characters in the resulting output, if possible. When the decode mechanism is rtl_UriDecodeNone or rtl_UriDecodeToIuri, this parameter is ignored (and is best specified as RTL_TEXTENCODING_UTF8). |
pResult | Returns a decoded representation of the input text. Must itself not be null, and must point to either null or a valid string. |
rtl_uString * | pText, |
const sal_Bool * | pCharClass, |
rtl_UriEncodeMechanism | eMechanism, |
rtl_TextEncoding | eCharset, |
rtl_uString * * | pResult ); |
virtual | abstract | const | volatile | template | static | inline | C-linkage |
NO | NO | NO | NO | NO | NO | NO | YES |
pText | Any Unicode string. Must not be null. |
pCharClass | A char class, represented as an array of 128 booleans (true means keep the corresponding ASCII character unencoded, false means encode it). Must not be null, and the boolean corresponding to the percent sign (0x25) must be false. (See rtl_getUriCharClass() for a function mapping from rtl_UriCharClass to such arrays.) |
eMechanism | The mechanism describing how escape sequences in the input text are handled. |
eCharset | When Unicode characters from the input text have to be written using escape sequences (because they are either outside the ASCII range or do not belong to the given char class), they are first translated into this charset before being encoded using escape sequences. Also, if the encode mechanism is rtl_UriEncodeCheckEscapes, all escape sequences already present in the input text are interpreted as characters from this charset. |
pResult | Returns an encoded representation of the input text. Must itself not be null, and must point to either null or a valid string. |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.