You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decode Vex and wavec smoke-test output independently of the Windows locale #170
bugSomething isn't workingciIssues related to continuous integration and automated validation.cross-platformIssues related to making Vex work consistently across operating systems and architectures.good first issueIssues that are good for newcomers or first-time contributors.
Audited against merged master 13289d7a74ad45561554bbb6673a189dbb192a27 (PR #161).
Problem and reproduction
The smoke helpers capture subprocess output with text=True and no encoding. Python therefore uses the local encoding, which need not match UTF-8 emitted by Vex/wavec.
Reproduced on Linux by mocking subprocess._text_encoding() to cp1252 and running a child that writes UTF-8 bytes for 각 (ea b0 81) through the native smoke run() helper. It raises UnicodeDecodeError before the smoke can inspect the child's result. This models a non-UTF-8 Windows locale; it is not a native Windows execution result.
Scope and acceptance
Explicitly decode known Vex/wavec UTF-8 output in both smoke suites.
Add a small offline regression using non-ASCII output with a mocked legacy locale.
Keep strict handling for JSON consumed as machine data.
Do not blindly reinterpret Visual Studio/cmd environment output as UTF-8: preserve the separate environment-discovery contract and distinguish foreign tool diagnostics where needed.
Existing ASCII smoke assertions must keep working.
No production CLI or new CI matrix is needed for this test-harness fix.
bugSomething isn't workingciIssues related to continuous integration and automated validation.cross-platformIssues related to making Vex work consistently across operating systems and architectures.good first issueIssues that are good for newcomers or first-time contributors.
Activity