The function std::u16string stringToUTF16LE(const std::string &src, const std::string &encoding) is added.