Skip to content

docs task: Use UTF-8 encoding when opening the documentation generated by libdoc in write mode - #5518

Merged
aaltat merged 1 commit into
MarketSquare:mainfrom
mardukbp:patch-2
Nov 11, 2026
Merged

aaltat merged 1 commit into
MarketSquare:mainfrom
mardukbp:patch-2

Conversation

@mardukbp

Copy link
Copy Markdown
Contributor

#5514 only fixed the issue with opening the file in read-mode. My apologies for overlooking this changed line.

… in write mode

libdoc writes docs/Browser.html as UTF-8. On Windows Python uses cp1252 as standard encoding. Therefore reading the file fails.
This PR fixes this issue, thus allowing the docs task to run successfully on Windows. This way inv package can run successfully on Windows.
@aaltat
aaltat merged commit 2a0ef56 into MarketSquare:main Nov 11, 2026
29 checks passed
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