Skip to content

TypedPython: decode cl.exe output in the console code page - #351

Merged
b-re-w merged 1 commit into
developfrom
feat/typedpython-msvc-output-encoding
Oct 29, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/typedpython-msvc-output-encoding

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 29, 2026

Copy link
Copy Markdown
Member

Closes #350

cl.exe and vswhere output is decoded with the OEM code page and errors="replace". test_cbuild_msvc.py: 19 passed.

cl.exe writes in the console code page (CP949 on Korean Windows); decoding it as UTF-8 raised UnicodeDecodeError in subprocess's reader thread and would lose a compile error message.
@b-re-w
b-re-w merged commit 460a267 into develop Oct 29, 2026
@b-re-w
b-re-w deleted the feat/typedpython-msvc-output-encoding branch October 29, 2026 19:45
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