pipewire: don't set locale

Leave the locale as it is because now we use locale independent parsing
and printing functions for serialized floats.

Fixes #2223
This commit is contained in:
Wim Taymans 2022-03-21 10:48:29 +01:00
parent 2b16df4e89
commit b877c28d96

View file

@ -415,9 +415,6 @@ static void init_i18n(struct support *support)
{
/* Load locale from the environment. */
setlocale(LC_ALL, "");
/* Set LC_NUMERIC to C so that floating point strings are consistently
* formatted and parsed across locales. */
setlocale(LC_NUMERIC, "C");
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
pw_set_domain(GETTEXT_PACKAGE);