updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
This commit is contained in:
@@ -266,7 +266,7 @@ void Locale::Read(const char * dir, const char * dir_def)
|
||||
|
||||
for(size_t i=0 ; i<locale_files.size() ; ++i)
|
||||
{
|
||||
pt::WideToUTF8(locale_files[i], locale_filea);
|
||||
pt::wide_to_utf8(locale_files[i], locale_filea);
|
||||
ReadFile(dir, dir_def, locale_filea.c_str());
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ void Locale::Read(const std::string & dir, const std::string & dir_def)
|
||||
|
||||
void Locale::Read(const wchar_t * dir, const wchar_t * dir_def)
|
||||
{
|
||||
pt::WideToUTF8(dir, adir1);
|
||||
pt::wide_to_utf8(dir, adir1);
|
||||
|
||||
if( !dir_def )
|
||||
{
|
||||
@@ -293,7 +293,7 @@ void Locale::Read(const wchar_t * dir, const wchar_t * dir_def)
|
||||
}
|
||||
else
|
||||
{
|
||||
pt::WideToUTF8(dir_def, adir2);
|
||||
pt::wide_to_utf8(dir_def, adir2);
|
||||
Read(adir1.c_str(), adir2.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user