From d715ac1675b50291daa09dcfa97c59781f48f946 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 20 May 2023 10:36:06 +1000 Subject: [PATCH] Fix inability to start on Windows from a path that contains non-Latin text Somewhat frustratingly, I only discovered this could be resolved with a manifest change after first wasting hours trying to detect unicode text in the NSIS installer, and warning the user that they'd need to change their system locale if unicode text was found. Also tried adjusting the locale with setlocale() on program startup, which did not help, perhaps because it needs to be set before libc init. --- qt/bundle/win/anki.exe.manifest | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/qt/bundle/win/anki.exe.manifest b/qt/bundle/win/anki.exe.manifest index 8f26bee26..6abbdfea9 100644 --- a/qt/bundle/win/anki.exe.manifest +++ b/qt/bundle/win/anki.exe.manifest @@ -1,8 +1,9 @@ - - - - true - - + + + + true + UTF-8 + +