Code page 65001 comes with a caveat, though:
> GDI doesn't currently support setting the ActiveCodePage property per process. Instead, GDI defaults to the active system codepage. To configure your app to render UTF-8 text via GDI, go to Windows Settings > Time & language > Language & region > Administrative language settings > Change system locale, and check Beta: Use Unicode UTF-8 for worldwide language support. Then reboot the PC for the change to take effect.
Source: https://learn.microsoft.com/en-us/windows/apps/design/global...
I don't think changing the system settings for one application to work is a great idea, especially as that setting can break other applications. Until Microsoft fixes GDI, I think it'll be a while before UTF-8 is a viable option.
Not any more, it does not. You are reading a warning that was put on that page a few years ago. Things have changed over the 6 years since Windows 10 release 1903. In particular, a couple of years later Microsoft was (interestingly, not always but sometimes, and no-one has really pinned down in what exact circumstances) turning that setting on by default in Windows 11.