xiph / flac

Free Lossless Audio Codec
https://xiph.org/flac/
GNU Free Documentation License v1.3
1.58k stars 278 forks source link

On WIN32, set stdout/stderr to UTF-8 #714

Closed ktmf01 closed 2 weeks ago

ktmf01 commented 3 weeks ago

When stderr (flac) or stdout (metaflac) is redirected to a file, output of non-ASCII characters fails. This commit should fix that.

Fixes https://github.com/xiph/flac/issues/713