Support Finnish decimal separator (backported from Debian package).

Signed-off-by: Alexander Shaduri <ashaduri@gmail.com>
This commit is contained in:
Alexander Shaduri
2022-01-13 13:47:15 +04:00
parent 7e0a8a2b62
commit 26a2fd9dde
+1
View File
@@ -345,6 +345,7 @@ std::string SmartctlParser::parse_byte_size(const std::string& str, uint64_t& by
to_replace.push_back(",");
to_replace.push_back(".");
to_replace.push_back(std::string(1, 0xa0));
to_replace.push_back(std::string(1, 0xc2));
#ifdef _WIN32
// if current locale is C, then probably we didn't change it at application