Skip to content

Commit 7af5cbb

Browse files
committed
Enforce UTF-8 locale when running tests in appveyor
chcp 65001 mean Code Page Number and 65001 is UTF-8. So by doing this change we modify the code page to UTF-8 for the commande that follows. See documentation: https://ss64.com/nt/chcp.html See related issue: appveyor/ci#2107
1 parent 5886002 commit 7af5cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ before_test:
2929
- bundle --version
3030

3131
test_script:
32-
- bundle exec rspec --backtrace
32+
- chcp 65001 && bundle exec rspec --backtrace
3333

3434
environment:
3535
matrix:

0 commit comments

Comments
 (0)