Skip to content

Commit

Permalink
chcp 65001 instead 1250
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint committed Aug 12, 2021
1 parent c7161ae commit e9b0e90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyenv-win/bin/pyenv.bat
@@ -1,6 +1,6 @@
@echo off
setlocal
chcp 1250 >nul
chcp 65001 >nul

set "pyenv=cscript //nologo "%~dp0..\libexec\pyenv.vbs""

Expand Down
2 changes: 1 addition & 1 deletion pyenv-win/libexec/libs/pyenv-lib.vbs
Expand Up @@ -260,7 +260,7 @@ Sub WriteWinScript(baseName, strDirBin)
If Not objfs.FileExists(filespec) Then
With objfs.CreateTextFile(filespec)
.WriteLine("@echo off")
.WriteLine("chcp 1250 > NUL")
.WriteLine("chcp 65001 > NUL")
.WriteLine("call pyenv exec "&strDirBin&"%~n0 %*")
.Close
End With
Expand Down

0 comments on commit e9b0e90

Please sign in to comment.