Skip to content

Commit

Permalink
Some more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 committed Nov 8, 2024
1 parent d639885 commit b88501f
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/windows-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,7 @@ jobs:
- name: Check environment
run: |
chcp
echo %PATH%
echo Lang:
echo %LANG%
echo LC_ALL:
echo %LC_ALL%
echo chcp.com:
chcp 65001
echo Printing unicode 1:
echo ✓
echo Printing unicode 2:
echo Блабла
where python
where python3
set PYTHONUTF8=1
echo Printing from Python:
python -c "print('\u2713')"
python -c "import sys; print(sys.stdout.encoding)"
reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage" /v ACP
shell: cmd

- name: Install MSys
Expand Down Expand Up @@ -159,6 +143,8 @@ jobs:
echo $LC_ALL || true
echo "chcp.com:"
chcp.com 65001 || true
echo "cmd.exe /c chcp:"
cmd.exe /c chcp || echo "Failed" || true
echo "Printing unicode 1:"
echo -e "\xE2\x9C\x93"
echo "Printing unicode 2:"
Expand Down

0 comments on commit b88501f

Please sign in to comment.