3700ac21f44c1459b78a0a0eec43026efd453f3f
galt
  Thu Jan 18 17:12:15 2018 -0800
We are going to used utf-8 where possible. We are not actually using non-ascii latin1 (iso-8859-1)

diff --git src/lib/htmshell.c src/lib/htmshell.c
index f42d26d..1475f6e 100644
--- src/lib/htmshell.c
+++ src/lib/htmshell.c
@@ -694,31 +694,31 @@
 /* Log useful CGI info to stderr */
 logCgiToStderr();
 
 /* write warning/error message to stderr so they get logged. */
 vfprintf(stderr, format, argscp);
 fprintf(stderr, "\n");
 fflush(stderr);
 va_end(argscp);
 }
 
 void htmlVaBadRequestAbort(char *format, va_list args)
 /* Print out an HTTP header 400 status code (Bad Request) and message,
  * then exit with error.  For use as an errAbort handler. */
 {
 puts("Status: 400\r");
-puts("Content-Type: text/plain; charset=iso-8859-1\r");
+puts("Content-Type: text/plain; charset=UTF-8\r");
 puts("\r");
 if (format != NULL)
     {
     vfprintf(stdout, format, args);
     fprintf(stdout, "\n");
     }
 exit(-1);
 }
 
 void htmlAbort()
 /* Terminate HTML file. */
 {
 longjmp(htmlRecover, -1);
 }