Changed to convert font name to UTF-8 instead of mail charset, bug 26182, r=rhp, a=ftang.

git-svn-id: svn://10.0.0.236/trunk@71643 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
nhotta%netscape.com
2000-06-06 23:32:03 +00:00
parent 67acd98ab0
commit d07f28d267

View File

@@ -1848,7 +1848,7 @@ nsresult GetMailNewsFont(MimeObject *obj, PRBool styleFixed, char *fontName, PRU
if (NS_FAILED(rv))
return rv;
rv = nsMsgI18NConvertFromUnicode(aCharset, unicode, convertedStr);
rv = nsMsgI18NConvertFromUnicode("UTF-8", unicode, convertedStr);
PR_FREEIF(unicode);
if (NS_FAILED(rv))
return rv;
@@ -1875,7 +1875,7 @@ nsresult GetMailNewsFont(MimeObject *obj, PRBool styleFixed, char *fontName, PRU
if (NS_FAILED(rv))
return rv;
rv = nsMsgI18NConvertFromUnicode(aCharset, unicode, convertedStr);
rv = nsMsgI18NConvertFromUnicode("UTF-8", unicode, convertedStr);
PR_FREEIF(unicode);
if (NS_FAILED(rv))
return rv;