--- /n/sources/plan9/sys/src/cmd/ip/httpd/sendfd.c +++ /sys/src/cmd/ip/httpd/sendfd.c Sat Dec 13 00:00:00 2025 @@ -242,10 +242,8 @@ printtype(Hio *hout, HContent *type, HContent *enc) { hprint(hout, "Content-Type: %s/%s", type->generic, type->specific); -/* if(cistrcmp(type->generic, "text") == 0) hprint(hout, ";charset=utf-8"); -*/ hprint(hout, "\r\n"); if(enc != nil) hprint(hout, "Content-Encoding: %s\r\n", enc->generic); --- /n/sources/plan9/sys/src/cmd/ip/httpd/webls.c +++ /sys/src/cmd/ip/httpd/webls.c Mon Dec 22 00:00:00 2025 @@ -213,12 +213,14 @@ } if (vermaj) { hokheaders(connect); - hprint(hout, "Content-type: text/html\r\n"); + hprint(hout, "Content-type: text/html; charset=utf-8\r\n"); hprint(hout, "\r\n"); } doctype(); hprint(hout, "\n"); - hprint(hout, "