summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cjr_print.sml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cjr_print.sml b/src/cjr_print.sml
index 4e3e1570..1c809f38 100644
--- a/src/cjr_print.sml
+++ b/src/cjr_print.sml
@@ -2814,7 +2814,7 @@ fun p_file env (ds, ps) =
box (case ek of
Core.Rpc _ => [string "uw_write_header(ctx, \"Content-type: text/plain\\r\\n\");",
newline]
- | _ => [string "uw_write_header(ctx, \"Content-type: text/html\\r\\n\");",
+ | _ => [string "uw_write_header(ctx, \"Content-type: text/html; charset=utf-8\\r\\n\");",
newline,
string "uw_write_header(ctx, \"Content-script-type: text/javascript\\r\\n\");",
newline,