-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#164] Use utf8-compatible codepage on Windows
Problem: xrefcheck uses utf8 symbols in reports, which are not supported on most of Windows shells by default. Sometimes they are printed as question marks (and it cause golden tests to fail) and sometimes printing of them raise an error. Solution: use function `withCP65001` from `code-page` package which sets correct codepage on Windows and do nothing on other OSs
- Loading branch information
1 parent
543749a
commit 5a85e0c
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,6 +111,7 @@ library: | |
- uri-bytestring | ||
- yaml | ||
- reflection | ||
- code-page | ||
|
||
executables: | ||
xrefcheck: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters