From: Carl Hetherington Date: Sun, 20 Mar 2022 20:17:05 +0000 (+0100) Subject: Call wxSetlocale the same way we call setlocale to possibly fix #2218. X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2F2218-locale;p=dcpomatic.git Call wxSetlocale the same way we call setlocale to possibly fix #2218. --- diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index fad3779bd..5f3769d21 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -429,6 +429,8 @@ dcpomatic_setup_i18n () if (locale) { dcpomatic_setup_gettext_i18n (wx_to_std (locale->GetCanonicalName ())); } + + wxSetlocale (LC_ALL, ""); }