mozJSSubScriptLoader

~/mozilla/intl/chardet/public/nsICharsetDetector.h

  NS_IMETHOD DoIt(const char* aBytesArray, PRUint32 aLen, PRBool* oDontFeedMe) = 0;

~/mozilla/intl/chardet/public/nsICharsetDetectionObserver.h

/*
  Used to inform answer by nsICharsetDetector
 */
class nsICharsetDetectionObserver : public nsISupports {
public:
  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICHARSETDETECTIONOBSERVER_IID)
  NS_IMETHOD Notify(const char* aCharset, nsDetectionConfident aConf) = 0;
};

なんかこのへんつかったらNotfiyにcharsetの名前がそのまま来るっぽいからあとなんとかすればなんとかなんないのかな。

~/mozilla/intl/uconv/idl/nsICharsetConverterManager.idl

interface nsICharsetConverterManager : nsISupports
{
    /**
     * Get the Unicode decoder for the given charset.
     * The "Raw" version skips charset alias resolution
     */
    nsIUnicodeDecoder getUnicodeDecoder(in string charset);
    nsIUnicodeDecoder getUnicodeDecoderRaw(in string charset);

    /**
     * Get the Unicode encoder for the given charset.
     * The "Raw" version skips charset alias resolution
     */
    nsIUnicodeEncoder getUnicodeEncoder(in string charset);

なんかいけそうなきがしてきた。