Skip to content

Commit dd4b303

Browse files
committed
fix: set UTF-8 code page for Windows BAT scripts
1 parent 0a1470a commit dd4b303

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎setup_windows.bat‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
REM Setup OptiScaler for your game
22
@echo off
3+
chcp 65001 >nul
34
cls
45
echo :::::::: ::::::::: ::::::::::: ::::::::::: :::::::: :::::::: ::: ::: :::::::::: :::::::::
56
echo :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+: :+:
@@ -467,6 +468,7 @@ setlocal DisableDelayedExpansion
467468

468469
(
469470
echo @echo off
471+
echo chcp 65001 ^>nul
470472
echo setlocal EnableDelayedExpansion
471473
echo cls
472474
echo echo :::::::: ::::::::: ::::::::::: ::::::::::: :::::::: :::::::: ::: ::: :::::::::: :::::::::

0 commit comments

Comments
 (0)