fix charset is caseless bug
git-svn-id: svn://10.0.0.236/trunk@17724 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
91bf06000f
commit
08a09d5e00
@ -294,7 +294,7 @@ nsresult nsCharsetConverterManager::GetCharsetConverter(
|
||||
GetCharsetName(aSrc, &str);
|
||||
|
||||
*aResult = NULL;
|
||||
for (PRInt32 i=0; i<aSize; i++) if (str->Equals(*(aArray[i].mCharset))) {
|
||||
for (PRInt32 i=0; i<aSize; i++) if (str->EqualsIgnoreCase(*(aArray[i].mCharset))) {
|
||||
res = nsRepository::CreateInstance(*(aArray[i].mCID),NULL,*aCID,aResult);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user