# HG changeset patch # User Ron de Bruijn # Date 1321546750 -3600 # Node ID cdca9691434a95f12836e17de1740952e602b83d # Parent e283ca05c829fef74e88651217774852e71131fc# Parent 02a50a9d50eae711d7ffcbd407814d052e0f6c6b Merge diff -r e283ca05c829 -r cdca9691434a src/cjr_print.sml --- a/src/cjr_print.sml Thu Nov 17 17:14:44 2011 +0100 +++ b/src/cjr_print.sml Thu Nov 17 17:19:10 2011 +0100 @@ -2814,7 +2814,7 @@ 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,