path: autodetect filesystem encoding on Win32

WinAPI explicitly declares filesystem encoding.
It can be determined by GetACP().
Use that instead of Glib routine that always "detects" UTF-8 on Win32,
which is incorrect for MPD case.
This commit is contained in:
Denis Krjuchkov
2011-10-22 00:57:30 +06:00
committed by Max Kellermann
parent c30c46cd5f
commit 6452461c39
2 changed files with 17 additions and 0 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ver 0.16.6 (2010/??/??)
* event_pipe: fix WIN32 regression
* define WINVER in ./configure
* WIN32: autodetect filesystem encoding
ver 0.16.5 (2010/10/09)