diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h index d38a5afa07..90df35189a 100644 --- a/Source/Core/Common/StringUtil.h +++ b/Source/Core/Common/StringUtil.h @@ -65,7 +65,7 @@ static bool TryParse(const std::string &str, N *const output) { std::istringstream iss(str); // is this right? not doing this breaks reading floats on locales that use different decimal separators - iss.imbue(std::locale(".1252")); + iss.imbue(std::locale("C")); N tmp = 0; if (iss >> tmp)