updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
This commit is contained in:
@@ -389,7 +389,7 @@ void PostMultiParser::ReadContent()
|
||||
|
||||
void PostMultiParser::ConvStr(const std::string & src, std::wstring & dst)
|
||||
{
|
||||
pt::UTF8ToWide(src, dst);
|
||||
pt::utf8_to_wide(src, dst);
|
||||
}
|
||||
|
||||
|
||||
@@ -496,7 +496,7 @@ size_t buf_len = sizeof(buf)/sizeof(wchar_t);
|
||||
tmp_filename_postfix += 1;
|
||||
|
||||
tmp_filename = buf;
|
||||
pt::WideToUTF8(tmp_filename, atmp_filename);
|
||||
pt::wide_to_utf8(tmp_filename, atmp_filename);
|
||||
|
||||
tmp_file.open(atmp_filename.c_str(), std::ios_base::binary | std::ios_base::out);
|
||||
// !! IMPROVE ME dodac ustawienie chmod config.upload_files_chmod dla tymczasowego pliku
|
||||
|
Reference in New Issue
Block a user