Skip to content

Conversation

@Lysxia
Copy link
Collaborator

@Lysxia Lysxia commented Aug 28, 2025

Fix #1

The crash happens not only on Windows, but more generally on systems with non-Unicode locales. It can be reproduced by calling hSetEncoding stdout latin1 before a failing StrictCheck test.

The fix is to check whether the encoding on stdout supports Unicode, and when that is not the case, to restrict the output to ASCII characters.

@Lysxia Lysxia merged commit 5bf7f02 into master Aug 28, 2025
3 checks passed
@Lysxia Lysxia deleted the no-unicode branch August 28, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error diagnostic crashes on Windows

2 participants