flac
flac copied to clipboard
flac 1.5 changes code page
flac 1.5 changes the code page in console (Win10 x64, CP866) after execution. The previous version did not do this.
This probably happened with PR #714. I wasn't aware SetConsoleOutputCP apparently does a permanent change, not just for the process involved. Note to self: Maybe changing to UTF-16 output would help: https://learn.microsoft.com/en-us/windows/console/console-code-pages
Or query current code page with GetConsoleOutputCP and restore it on exit.