We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebf2334 commit 4b4fa8fCopy full SHA for 4b4fa8f
packages/react-router/lib/rsc/server.ssr.tsx
@@ -209,7 +209,7 @@ export async function routeRSCServerRequest({
209
const html = await renderHTML(getPayload);
210
211
const headers = new Headers(serverResponse.headers);
212
- headers.set("Content-Type", "text/html");
+ headers.set("Content-Type", "text/html; charset=utf-8");
213
214
if (!hydrate) {
215
return new Response(html, {
0 commit comments