if (!httpEquiv.EqualsIgnoreCase("Content-Type"))
if (!httpEquiv.LowerCaseEqualsLiteral("content-type"))
BookmarkParser::ParseMetaTag(const nsString &aLine, nsIUnicodeDecoder **decoder){    nsresult    rv = NS_OK;    *decoder = nsnull;    // get the HTTP-EQUIV attribute    PRInt32 start = aLine.Find(kHTTPEquivEquals, PR_TRUE);    NS_ASSERTION(start >= 0, "no 'HTTP-EQUIV=\"' string: how'd we get here?");    if (start < 0)  return NS_ERROR_UNEXPECTED;    // Skip past the first double-quote    start += (sizeof(kHTTPEquivEquals) - 1);    // ...and find the next so we can chop the HTTP-EQUIV attribute    PRInt32 end = aLine.FindChar(PRUnichar('"'), start);    nsAutoString    httpEquiv;    aLine.Mid(httpEquiv, start, end - start);    // if HTTP-EQUIV isn't "Content-Type", just ignore the META tag    if (!httpEquiv.EqualsIgnoreCase("Content-Type"))        return NS_OK;    // get the CONTENT attribute    start = aLine.Find(kContentEquals, PR_TRUE);    NS_ASSERTION(start >= 0, "no 'CONTENT=\"' string: how'd we get here?");    if (start < 0)  return NS_ERROR_UNEXPECTED;    // Skip past the first double-quote    start += (sizeof(kContentEquals) - 1);    // ...and find the next so we can chop the CONTENT attribute    end = aLine.FindChar(PRUnichar('"'), start);    nsAutoString    content;    aLine.Mid(content, start, end - start);    // look for the charset value    start = content.Find(kCharsetEquals, PR_TRUE);    NS_ASSERTION(start >= 0, "no 'charset=' string: how'd we get here?");    if (start < 0)  return NS_ERROR_UNEXPECTED;    start += (sizeof(kCharsetEquals)-1);    nsCAutoString    charset;    charset.AssignWithConversion(Substring(content, start, content.Length() - start));    if (charset.Length() < 1)   return NS_ERROR_UNEXPECTED;    // found a charset, now try and get a decoder from it to Unicode    nsICharsetConverterManager  *charsetConv = nsnull;    rv = nsServiceManager::GetService(kCharsetConverterManagerCID,             NS_GET_IID(nsICharsetConverterManager),             (nsISupports**)&charsetConv);    if (NS_SUCCEEDED(rv) && (charsetConv))    {        rv = charsetConv->GetUnicodeDecoderRaw(charset.get(), decoder);        NS_RELEASE(charsetConv);    }    return rv;}