Vite or react-router breaks arabic text
00:27 19 Aug 2026

I making a single page (SPA) app with no SSR using react-router framwork mode
when running react-router dev with the following code

export default function Home() {
    return 

مرحبا

}

I get the following result undesired result

but it works fine when using react-router build && react-router-serve ./build/server/index.js

react-router vite