Fix for Bug#: 5866 ... I think this is fixed...again

This commit is contained in:
rhp%netscape.com 1999-06-14 22:21:01 +00:00
Родитель a153009352
Коммит d42d4bf36f
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -1780,6 +1780,9 @@ static int WriteLineToStream (MimeObject *obj, const char *line)
PRInt32 converted_length;
PRInt32 res;
if (!charset)
charset = "ISO-8859-1";
// convert from the resource charset.
res = INTL_ConvertCharset(charset, "UTF-8", line, PL_strlen(line),
&converted, &converted_length);