Skip to content

fix: Specify UTF-8 encoding when opening output files#26

Merged
msto merged 1 commit intomainfrom
ms/utf8-encoding
Mar 13, 2026
Merged

fix: Specify UTF-8 encoding when opening output files#26
msto merged 1 commit intomainfrom
ms/utf8-encoding

Conversation

@msto
Copy link
Copy Markdown
Collaborator

@msto msto commented Mar 7, 2026

Explicitly pass encoding="utf-8" in MetricWriter.__init__ to avoid defaulting to the system encoding on Windows.

@clintval clintval assigned msto and unassigned clintval Mar 9, 2026
Explicitly pass `encoding="utf-8"` in `MetricWriter.__init__` to avoid
defaulting to the system encoding on Windows.

Co-Authored-By: Rahul Kaushal <kaushalrahul15@gmail.com>
@msto msto force-pushed the ms/utf8-encoding branch from 608ceda to c7196d2 Compare March 13, 2026 18:07
@msto msto merged commit 64837d2 into main Mar 13, 2026
2 checks passed
@msto msto deleted the ms/utf8-encoding branch March 13, 2026 18:07
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.

2 participants