html->file = fn_open (html->file_name, "w");
if (html->file == NULL)
{
- error (0, errno, _("opening HTML output file: %s"), html->file_name);
+ error (0, errno, _("error opening output file \"%s\""), html->file_name);
goto error;
}
fputs ("<META http-equiv=\"Content-Style-Type\" content=\"text/css\">\n",
html->file);
fputs ("<META HTTP-EQUIV=\"Content-Type\" "
- "CONTENT=\"text/html; charset=ISO-8859-1\">\n", html->file);
+ "CONTENT=\"text/html; charset=utf-8\">\n", html->file);
fputs ("<STYLE>\n"
"<!--\n"
"body {\n"
struct table_item *table_item = to_table_item (output_item);
html_output_table (html, table_item);
}
+#ifdef HAVE_CAIRO
else if (is_chart_item (output_item) && html->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
free (file_name);
}
}
+#endif /* HAVE_CAIRO */
else if (is_text_item (output_item))
{
struct text_item *text_item = to_text_item (output_item);