Skip to content

fix: Windows GBK encoding compatibility for UTF-8 files#3

Open
leon198442 wants to merge 1 commit into
topprismdata:mainfrom
leon198442:fix/windows-utf8-encoding
Open

fix: Windows GBK encoding compatibility for UTF-8 files#3
leon198442 wants to merge 1 commit into
topprismdata:mainfrom
leon198442:fix/windows-utf8-encoding

Conversation

@leon198442

Copy link
Copy Markdown

Specify encoding="utf-8" in Path.read_text() calls to prevent UnicodeDecodeError on Windows systems with Chinese locale (GBK default).

Specify encoding="utf-8" in Path.read_text() calls to prevent
UnicodeDecodeError on Windows systems with Chinese locale (GBK default).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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