Select default ANSI charset based on system locale
Qt-based Multimedia Player
Brought to you by:
trialuser02
As of today, qmmp uses single-byte encoding 437 or something similar for displaying file paths and non-Unicode ID3 tags. This does not align with the behavior of players from the WinAmp 2 era on Windows, where the single-byte ANSI encoding was automatically selected based on the system's localization settings.
qmmp could follow the same logic. In fact, there's even existing code that determines the ANSI encoding based on the system locale — it's used in the version of 7zip included in Debian. It would be enough to adapt this code for use in qmmp.
See also:
https://sourceforge.net/p/qmmp-dev/tickets/1173/