43388: allow format=flowed for UTF-8 messages. r=nhotta

git-svn-id: svn://10.0.0.236/trunk@79259 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com
2000-09-15 06:06:28 +00:00
parent f71a09f263
commit fdd39c8fc4

View File

@@ -2165,7 +2165,8 @@ PRBool UseFormatFlowed(const char *charset)
//
// The problem is the SPACE format=flowed inserts at the end of
// the line. Not all charsets like that.
if( nsMsgI18Nmultibyte_charset(charset))
if( nsCRT::strcasecmp(charset, "UTF-8") &&
nsMsgI18Nmultibyte_charset(charset))
return PR_FALSE;
return PR_TRUE;