summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/server/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/rpc.c b/src/server/rpc.c
index 97cca9e..f01121c 100644
--- a/src/server/rpc.c
+++ b/src/server/rpc.c
@@ -254,7 +254,7 @@ static bool sendReply(int sock, const char *status, const char *ctype, const cha
const char *connection = ( keepAlive == HTTP_KEEPALIVE ) ? "Keep-Alive" : "Close";
int hlen = snprintf(buffer, sizeof(buffer), "HTTP/1.1 %s\r\n"
"Connection: %s\r\n"
- "Content-Type: %s\r\n"
+ "Content-Type: %s; charset=utf-8\r\n"
"Content-Length: %u\r\n"
"\r\n",
status, connection, ctype, (unsigned int)plen );