mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
2b16df4e89
commit
b877c28d96
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue