Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

nsICurrentCharsetListener

Please add a summary to this article.
Inherits from: nsISupports Last changed in Gecko 1.7

Implemented by: @mozilla.org/intl/currentcharsetlistener;1. To create an instance, use:

var currentCharsetListener = Components.classes["@mozilla.org/intl/currentcharsetlistener;1"]
                             .createInstance(Components.interfaces.nsICurrentCharsetListener);

Method overview

void SetCurrentCharset(in wstring charset);
void SetCurrentComposerCharset(in wstring charset);
void SetCurrentMailCharset(in wstring charset);

Methods

SetCurrentCharset()

void SetCurrentCharset(
  in wstring charset
);
Parameters
charset

SetCurrentComposerCharset()

void SetCurrentComposerCharset(
  in wstring charset
);
Parameters
charset

SetCurrentMailCharset()

void SetCurrentMailCharset(
  in wstring charset
);
Parameters
charset

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,