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 5c40f84 commit e53b2faCopy full SHA for e53b2fa
packages/plugin-rsc/examples/basic/src/framework/entry.rsc.tsx
@@ -97,7 +97,7 @@ export async function handleRequest({
97
// respond html
98
return new Response(htmlStream, {
99
headers: {
100
- 'Content-type': 'text/html',
+ 'content-type': 'text/html;charset=utf-8',
101
vary: 'accept',
102
},
103
})
packages/plugin-rsc/examples/basic/src/routes/root.tsx
@@ -34,6 +34,7 @@ export function Root(props: { url: URL }) {
34
return (
35
<html>
36
<head>
37
+ <meta charSet="utf-8" />
38
<title>vite-rsc</title>
39
{import.meta.viteRsc.loadCss('/src/routes/root.tsx')}
40
</head>
0 commit comments