Bug 422079 Plugin names need to be converted to Unicode r+sr=jst, b1.9=jst

This commit is contained in:
masayuki@d-toybox.com 2008-03-17 14:58:59 -07:00
parent 31ea718362
commit a1475802c9

View File

@ -992,6 +992,7 @@ nsresult nsPluginTag::EnsureMembersAreUTF8()
rv = ccm->GetUnicodeDecoderRaw(charset.get(), getter_AddRefs(decoder));
NS_ENSURE_SUCCESS(rv, rv);
ConvertToUTF8(decoder, mName);
ConvertToUTF8(decoder, mDescription);
for (PRUint32 i = 0; i < mMimeDescriptionArray.Length(); ++i) {
ConvertToUTF8(decoder, mMimeDescriptionArray[i]);