This interface is a unicode encoder for use by scripts @created 8/Jun/2000 @author Makoto Kato [email@example.com]
interface nsIScriptableUnicodeConverter : nsISupports
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 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.
nsIInputStream convertToInputStream(in AString aString)