This interface is a unicode encoder for use by scripts
@created 8/Jun/2000
@author Makoto Kato [m_kato@ga2.so-net.ne.jp]
Converts the data from Unicode to one Charset.
Returns the converted string. After converting, Finish should be called
and its return value appended to this return value.
Returns the terminator string.
Should be called after ConvertFromUnicode() and appended to that
function’s return value.
Converts the data from one Charset to Unicode.
Converts an array of bytes to a unicode string.
Convert a unicode string to an array of bytes. Finish does not need to be
called.
Converts a unicode string to an input stream. The bytes in the stream are
encoded according to the charset attribute.
The returned stream will be nonblocking.
Current character set.
@throw NS_ERROR_UCONV_NOCONV
The requested charset is not supported.
Internal use
When this attribute is set, all encodings may be accessed. Alias
resolution is not performed for non-Encoding Standard encodings.
MailNews callers should perform alias resolution first (e.g. using
nsICharsetConverterManager::getCharsetAlias()) and use the result
with this API.