Skip to content

docs: use UTF-8 for redirect generation#7793

Open
meir-may wants to merge 1 commit into
microsoft:mainfrom
meir-may:docs/redirects-utf8-encoding
Open

docs: use UTF-8 for redirect generation#7793
meir-may wants to merge 1 commit into
microsoft:mainfrom
meir-may:docs/redirects-utf8-encoding

Conversation

@meir-may
Copy link
Copy Markdown

@meir-may meir-may commented Jun 2, 2026

Summary

  • Use explicit UTF-8 encoding when reading the redirect HTML template
  • Use explicit UTF-8 encoding when writing generated redirect pages
  • Use explicit UTF-8 encoding when reading redirect URL mappings

Closes #7749

Verification

  • python3 python/docs/redirects/redirects.py "$TMPDIR"
  • python3 -m py_compile python/docs/redirects/redirects.py

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