diff --git a/src/new_client.c b/src/new_client.c index 0641aa2..be5a65a 100644 --- a/src/new_client.c +++ b/src/new_client.c @@ -74,7 +74,7 @@ cgiMain() } - cgiHeaderContentType("text/html"); + cgiHeaderContentType("text/html; charset=utf-8"); fprintf(cgiOut, "\n"); diff --git a/src/view_comments.c b/src/view_comments.c index 034c8d4..46b8695 100644 --- a/src/view_comments.c +++ b/src/view_comments.c @@ -228,7 +228,7 @@ cgiMain() } else { authorized_user_sid[0] = '\0'; } - cgiHeaderContentType("text/html"); + cgiHeaderContentType("text/html; charset=utf-8"); fprintf(cgiOut, "\n");