Function kiwix::getSlugifiedFileName

Function Documentation

std::string kiwix::getSlugifiedFileName(const std::string &filename)

Slugifies the filename by converting any characters reserved by the operating system to ‘_’. Note filename is only the file name and not a path.

Parameters:

filename – Valid UTF-8 encoded file name string.

Returns:

slugified string.