From d7b4840c929c6964f50fffbc13576981223cee51 Mon Sep 17 00:00:00 2001 From: mintty Date: Sat, 23 Nov 2024 00:00:00 +0100 Subject: [PATCH] portable installation supports Unicode folder names --- install-portable.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/install-portable.bat b/install-portable.bat index e7f74f3..813e93b 100755 --- a/install-portable.bat +++ b/install-portable.bat @@ -5,6 +5,7 @@ echo Select target folder in popup dialog ... set sel="Select folder to place installation of portable wsltty" +chcp 65001 > nul for /f "usebackq delims=" %%f in (`powershell "(new-object -COM Shell.Application).BrowseForFolder(0, '%sel%', 0, 0).self.path"`) do set f=%%f set instdir=%f%\wsltty if exist %f%\LICENSE.mintty set instdir=%f%