Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(33b87f70-7a9c-11d3-915c-006008a6edf6)]
interface nsISaveAsCharset : nsISupports

Constants


        
const unsigned long mask_Fallback = 255

        
const unsigned long mask_Entity = 768

        
const unsigned long mask_CharsetFallback = 1024

        
const unsigned long attr_FallbackNone = 0

        
const unsigned long attr_FallbackQuestionMark = 1

        
const unsigned long attr_FallbackEscapeU = 2

        
const unsigned long attr_FallbackDecimalNCR = 3

        
const unsigned long attr_FallbackHexNCR = 4

        
const unsigned long attr_EntityNone = 0

        
const unsigned long attr_EntityBeforeCharsetConv = 256

        
const unsigned long attr_EntityAfterCharsetConv = 512

        
const unsigned long attr_CharsetFallback = 1024

        
const unsigned long attr_plainTextDefault = 0

        
const unsigned long attr_htmlTextDefault = 259

Attributes


        
readonly attribute string charset

Methods


        
string Convert(in wstring inString)

        
void Init(in string charset, in unsigned long attr, in unsigned long entityVersion)