Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsICharsetConverterManager Interface Reference

Here Charsets are indentified by ASCII strings. More...

import "nsICharsetConverterManager.idl";

Inheritance diagram for nsICharsetConverterManager:
Inheritance graph
[legend]
Collaboration diagram for nsICharsetConverterManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

nsIUnicodeDecoder getUnicodeDecoder (in string charset)
 Get the Unicode decoder for the given charset.
nsIUnicodeDecoder getUnicodeDecoderRaw (in string charset)
nsIUnicodeEncoder getUnicodeEncoder (in string charset)
 Get the Unicode encoder for the given charset.
nsIUnicodeEncoder getUnicodeEncoderRaw (in string charset)
ACString getCharsetAlias (in string charset)
 A shortcut to calling nsICharsetAlias to do alias resolution.
nsIUTF8StringEnumerator getDecoderList ()
 Get the complete list of available decoders.
nsIUTF8StringEnumerator getEncoderList ()
 Get the complete list of available encoders.
nsIUTF8StringEnumerator GetCharsetDetectorList ()
 Get the complete list of available charset detectors.
AString getCharsetTitle (in string charset)
 Get the human-readable name for the given charset.
AString getCharsetData (in string charset, in wstring prop)
 Get some data about the given charset.
nsIAtom getCharsetLangGroup (in string charset)
 Get the language group for the given charset.
nsIAtom getCharsetLangGroupRaw (in string charset)

Detailed Description

Here Charsets are indentified by ASCII strings.

Charset alias resolution is provided by default in most methods. "Raw" versions that do not need this resolution are also provided.

21/Feb/2000

Author:
Catalin Rotaru [CATA]

Definition at line 71 of file nsICharsetConverterManager.idl.


Member Function Documentation

A shortcut to calling nsICharsetAlias to do alias resolution.

AString nsICharsetConverterManager::getCharsetData ( in string  charset,
in wstring  prop 
)

Get some data about the given charset.

This includes whether the character encoding may be used for certain purposes, if it is multi-byte, and the language code for it. See charsetData.properties for the source of this data. Some known property names: notForBrowser - not to be used in the bowser. notForOutgoing - not to be used for exporting files. LangGroup - language code for charset, e.g. 'he' and 'zh-CN'. isMultibyte - is this a multi-byte charset?

Parameters:
charsetname of the character encoding, e.g. 'iso-8859-15'.
propproperty desired for the character encoding.
Returns:
the value of the property, for the character encoding.

Get the complete list of available charset detectors.

Get the language group for the given charset.

This is similar to calling getCharsetData with the prop "LangGroup".

Parameters:
charsetname of the character encoding, e.g. 'iso-8859-15'.
Returns:
the language code for the character encoding.

Get the human-readable name for the given charset.

Get the complete list of available decoders.

Get the complete list of available encoders.

Get the Unicode decoder for the given charset.

The "Raw" version skips charset alias resolution

Get the Unicode encoder for the given charset.

The "Raw" version skips charset alias resolution


The documentation for this interface was generated from the following file: