mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 18:14:44 +00:00
trivial: Workaround Windows setting the codepage to 1252
This commit is contained in:
parent
0604ef4324
commit
e138da23b7
@ -4008,6 +4008,11 @@ main(int argc, char *argv[])
|
|||||||
NULL},
|
NULL},
|
||||||
{NULL}};
|
{NULL}};
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
/* workaround Windows setting the codepage to 1252 */
|
||||||
|
(void)g_setenv("LANG", "C.UTF-8", FALSE);
|
||||||
|
#endif
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
|
||||||
bindtextdomain(GETTEXT_PACKAGE, FWUPD_LOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, FWUPD_LOCALEDIR);
|
||||||
|
Loading…
Reference in New Issue
Block a user