Skip to content

Commit

Permalink
Windows: Attempt to fix Unicode encoding error using chcp
Browse files Browse the repository at this point in the history
UnicodeEncodeError: 'charmap' codec can't encode character '\u2192' in position 65: character maps to <undefined>
  • Loading branch information
amotl committed Feb 10, 2024
1 parent 4fb5e43 commit ea1a42a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
- name: Test
shell: bash
run: python -m xmlrunner discover -v -o test-results/test/
run: |
command -v chcp && chcp 65001 # Set code page to utf-8.
python -m xmlrunner discover -v -o test-results/test/
- name: Pycodestyle
run: pycodestyle cr8
Expand Down

0 comments on commit ea1a42a

Please sign in to comment.