Skip to content

docs: use explicit UTF-8 encoding in redirect generation script#7944

Open
hanu-14 wants to merge 1 commit into
microsoft:mainfrom
hanu-14:fix/utf8-encoding-redirects
Open

docs: use explicit UTF-8 encoding in redirect generation script#7944
hanu-14 wants to merge 1 commit into
microsoft:mainfrom
hanu-14:fix/utf8-encoding-redirects

Conversation

@hanu-14

@hanu-14 hanu-14 commented Jul 11, 2026

Copy link
Copy Markdown

Adds explicit encoding="utf-8" to file reads/writes in redirects.py to prevent UnicodeDecodeError/UnicodeEncodeError on Windows locales where default encoding is not UTF-8.

Fixes #7749

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.

docs: use explicit UTF-8 encoding in redirect generation script

1 participant