nsresult res;
nsFSStringConversion::PrepareDecoder(){   nsresult res = NS_OK;   if(nsnull == mDecoder)   {       res = PrepareFSCharset();       if(NS_SUCCEEDED(res)) {           nsresult res;           NS_WITH_SERVICE(nsICharsetConverterManager,                ucmgr, NS_CHARSETCONVERTERMANAGER_PROGID, &res);           NS_ASSERTION((NS_SUCCEEDED(res) && (nsnull != ucmgr)),                    "cannot get charset converter manager ");           if(NS_SUCCEEDED(res) && (nsnull != ucmgr))                res = ucmgr->GetUnicodeDecoder( &mFSCharset, getter_AddRefs(mDecoder));           NS_ASSERTION((NS_SUCCEEDED(res) && (nsnull != mDecoder)),                    "cannot find the unicode decoder");       }   }   return res;}