diff --git a/src/core/utils.cpp b/src/core/utils.cpp index 6e5d629..75242f3 100644 --- a/src/core/utils.cpp +++ b/src/core/utils.cpp @@ -27,7 +27,11 @@ std::string formatCentAsEuroString(const int cent, int width) return currStream.str();*/ +#if defined(_WIN64) || defined(_WIN32) + std::locale myLocale; +#else std::locale myLocale{"de_DE.utf8"}; +#endif return fmt::format(myLocale, "{:{}.2Lf} €", cent / 100.0L, width); }