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.
---
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).
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