Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
/ cr8 Public archive

Commit 36cbd2c

Browse files
committed
Windows: Attempt to fix Unicode encoding error using chcp
UnicodeEncodeError: 'charmap' codec can't encode character '\u2192' in position 65: character maps to <undefined>
1 parent 4fb5e43 commit 36cbd2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
4242
- name: Test
4343
shell: bash
44-
run: python -m xmlrunner discover -v -o test-results/test/
44+
run: |
45+
chcp 65001 # Set code page to utf-8.
46+
python -m xmlrunner discover -v -o test-results/test/
4547
4648
- name: Pycodestyle
4749
run: pycodestyle cr8

0 commit comments

Comments
 (0)