Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

monograph: add monograph response charset header

dyw7703525d60f8c48
diff --git a/apps/monograph/app/entry.server.tsx b/apps/monograph/app/entry.server.tsx
index 7f1b8e390..56d30663c 100644
--- a/apps/monograph/app/entry.server.tsx
+++ b/apps/monograph/app/entry.server.tsx
@@ -60,7 +60,7 @@ export default function handleRequest(
const styles = constructStyleTagsFromChunks(extractCriticalToChunks(body));
const html = `<!DOCTYPE html><html><head><!--start head-->${head}${styles}<!--end head--></head><body><div id="root">${body}</div></body></html>`;
- responseHeaders.set("Content-Type", "text/html");
+ responseHeaders.set("Content-Type", "text/html; charset=utf-8");
return new Response(html, {
status: responseStatusCode,