From 26a2fd9dde6ab48b68bb5598b6ac216a4fc77251 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Wed, 10 Mar 2021 13:05:47 +0400 Subject: [PATCH] Support Finnish decimal separator (backported from Debian package). Signed-off-by: Alexander Shaduri --- src/applib/smartctl_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applib/smartctl_parser.cpp b/src/applib/smartctl_parser.cpp index ba02f9d..7aca5c1 100644 --- a/src/applib/smartctl_parser.cpp +++ b/src/applib/smartctl_parser.cpp @@ -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