It's known that Qt allows to convert c-string (path to file (Windows), containing сyrillic characters) to another one encoded in UTF-8 as follows:
const char *str = "/path/to/some/file.ext";
const char *utf8str = QString(str).toUtf8().constData();
How can i do this without using Qt? What C- or C++-library can/should I use and is there any lightweight variant(s)?