implement UTF-8 conversion with WinAPI for Windows platform

This commit is contained in:
Vort 2024-08-29 16:52:25 +03:00
parent bc48e6881d
commit e87ace0c3d
2 changed files with 12 additions and 10 deletions

View file

@ -313,7 +313,7 @@ namespace win32
}
case ID_DATADIR:
{
std::string datadir(i2p::fs::GetUTF8DataDir());
std::string datadir(i2p::fs::GetDataDir());
ShellExecute(NULL, "explore", datadir.c_str(), NULL, NULL, SW_SHOWNORMAL);
return 0;
}