Skip to content

winio: restore console cp on exit

This changes and restores both input and output codepages to UTF-8 if user has it still set to default OEM.

With this Unicode output works on Windows out of the box with winio.

The CP is restored on normal exit or crash

Fixes #18383 (closed) and #18384 (closed)

Merge request reports