pragha-music-player / pragha

Pragha is a Lightweight Music Player for GNU/Linux.
GNU General Public License v3.0
173 stars 35 forks source link

Cannot add non-UTF-8 folders to the library #144

Open Carmina16 opened 5 years ago

Carmina16 commented 5 years ago

This one looks wrong, as filenames are not guaranteed to be in UTF-8. As a consequence, it is impossible to add a folder with a locale-encoded name to the library.

https://github.com/pragha-music-player/pragha/blob/8eb706e4482cc0966bdfbe96e49db17b00092a83/src/pragha-preferences-dialog.c#L652

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/64177819-cannot-add-non-utf-8-folders-to-the-library?utm_campaign=plugin&utm_content=tracker%2F352350&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F352350&utm_medium=issues&utm_source=github).