Skip to content

TypedPython: cl.exe output decoded as UTF-8 raises UnicodeDecodeError on Korean Windows #350

Closed

Description

@b-re-w

On Korean Windows, typedpython demo prints a UnicodeDecodeError traceback from subprocess's reader thread: cl.exe writes in the console code page (CP949), and CPython 3.15 decodes text=True output as UTF-8. The build still succeeds, but a compile error message would be lost.

Fix: decode cl.exe and vswhere output with the OEM code page and errors="replace".

Done when: test_cbuild_msvc.py passes and the demo on Korean Windows prints no traceback.

Activity

  1. b-re-w commented on Oct 29, 2026

    @b-re-w
    MemberAuthor

    Landed in develop via #351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions