Skip to content

Fix UTF-8 decoding in OT-I07 Windows validation - #378

Merged
christophersesugh merged 1 commit into
mainfrom
fix/ot-i07-windows-validation
Dec 5, 2026
Merged

christophersesugh merged 1 commit into
mainfrom
fix/ot-i07-windows-validation

Conversation

@christophersesugh

Copy link
Copy Markdown
Collaborator

The Windows release-consumer test in #375 reads UTF-8 navigation JSON using the runner's Windows-1252 locale. The subprocess reader hits an undefined byte and returns no stdout to the JSON assertion.

Decode the captured streams as UTF-8 and set PYTHONIOENCODING for the child CLI's text diagnostics. The existing official-release fixture exercises the affected CLI invocation. This patch changes the test harness only.

Reproduced the failure locally with Python UTF-8 mode and locale coercion disabled under LC_ALL=C. The release-consumer tests pass in that environment after the fix. The Toolkit release-validation matrix will verify Windows and both cross-platform byte comparisons.

@christophersesugh
christophersesugh force-pushed the fix/ot-i07-windows-validation branch from bd81703 to 45b414f Compare December 5, 2026 15:41
@christophersesugh
christophersesugh marked this pull request as ready for review December 5, 2026 15:43
@christophersesugh
christophersesugh merged commit 840e5e9 into main Dec 5, 2026
25 checks passed
@christophersesugh
christophersesugh deleted the fix/ot-i07-windows-validation branch December 5, 2026 15:43
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.

1 participant