X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;h=4fd23184ec37e21def2d34c793a9aa21655c37fe;hb=805e7e4f88947b7c39ca2890927a50ef5391d956;hp=636450a9a353c1d43ccac0f7c4a54b665e946401;hpb=ddb7b52128d8f1f54d9632dc3a15c7869e0fbcce;p=pspp diff --git a/src/output/html.c b/src/output/html.c index 636450a9a3..4fd23184ec 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -103,7 +103,7 @@ html_create (const char *file_name, enum settings_output_devices device_type, 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; } @@ -116,7 +116,7 @@ html_create (const char *file_name, enum settings_output_devices device_type, fputs ("\n", html->file); fputs ("\n", html->file); + "CONTENT=\"text/html; charset=utf-8\">\n", html->file); fputs ("