From b9e87c6690429e0f6f7b8ba557a33f9060316630 Mon Sep 17 00:00:00 2001 From: "masayuki@d-toybox.com" Date: Mon, 17 Mar 2008 14:58:59 -0700 Subject: [PATCH] Bug 422079 Plugin names need to be converted to Unicode r+sr=jst, b1.9=jst --- modules/plugin/base/src/nsPluginHostImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/plugin/base/src/nsPluginHostImpl.cpp b/modules/plugin/base/src/nsPluginHostImpl.cpp index 95ba0dc0ba7a..bb18bec014d1 100644 --- a/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -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]);