nsresult res;
nsresult res = NS_ERROR_UCONV_NOCONV;
nsresult nsCharsetConverterManager::GetCharsetConverter(                                    const nsString * aSrc,                                     void ** aResult,                                    const nsCID * aCID,                                    const ConverterInfo * aArray,                                    PRInt32 aSize){  nsresult res;  nsString * str;  GetCharsetName(aSrc, &str);  *aResult = NULL;  for (PRInt32 i=0; i<aSize; i++) if (str->EqualsIgnoreCase(*(aArray[i].mCharset))) {    res = nsComponentManager::CreateInstance(*(aArray[i].mCID),NULL,*aCID,aResult);    break;  }  delete str;  // well, we didn't found any converter. Damn, life sucks!  if ((*aResult == NULL) && (NS_SUCCEEDED(res)))     res = NS_ERROR_UCONV_NOCONV;  return res;}