[rhythmbox/wip/hadess/fix-utf8-metadata-errors] metadata: Enable UTF-8 support in metadata scanner
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/hadess/fix-utf8-metadata-errors] metadata: Enable UTF-8 support in metadata scanner
- Date: Sat, 15 Feb 2020 19:17:31 +0000 (UTC)
commit 69fc6ffb6f8ba47a31e11bfbcb461736f510086d
Author: Bastien Nocera <hadess hadess net>
Date: Sat Feb 15 17:59:05 2020 +0100
metadata: Enable UTF-8 support in metadata scanner
GStreamer's gst_init() hasn't done that for us since 2012:
https://gitlab.freedesktop.org/gstreamer/gstreamer/commit/9326124581e65c7f4dc6a729f12c1dca77d564f3
metadata/rb-metadata-dbus-service.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/metadata/rb-metadata-dbus-service.c b/metadata/rb-metadata-dbus-service.c
index e65edb20a..3e7e12499 100644
--- a/metadata/rb-metadata-dbus-service.c
+++ b/metadata/rb-metadata-dbus-service.c
@@ -357,6 +357,8 @@ main (int argc, char **argv)
const char *address = NULL;
char *guid;
+ setlocale (LC_ALL, "");
+
#ifdef ENABLE_NLS
/* initialize i18n */
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]