From 521fe586d71e9eb125dbaf7b98730f8b398e834b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 14 Jul 2016 11:36:40 -0400 Subject: [PATCH] correctly initialize C++ locale as well as C locale --- gtk2_ardour/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index ef35ac64b4..0fa6f53fe1 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -296,7 +296,9 @@ int main (int argc, char *argv[]) #endif #ifdef ENABLE_NLS + /* initialize C and C++ locales to user preference */ setlocale (LC_ALL, ""); + std::locale::global (std::locale (setlocale (LC_ALL, 0))); #endif console_madness_begin(); -- 2.30.2