[Bug 723164] gst-discoverer: Support non-ASCII tags

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 29 13:05:53 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723164
  GStreamer | don't know | unspecified

--- Comment #4 from Bastien Nocera <bugzilla at hadess.net> 2014-01-29 21:05:48 UTC ---
>From the setlocale() man page:
--8<--
       The locale argument is a pointer to a character string containing the
required setting of category. The contents of this string are
implementation-defined. In  addi‐
       tion, the following preset values of locale are defined for all settings
of category:

       "POSIX"
              Specifies  the minimal environment for C-language translation
called the POSIX locale. If setlocale() is not invoked, the POSIX locale is the
default at entry
              to main().

       "C"    Equivalent to "POSIX" .

       ""     Specifies an implementation-defined native environment.  This
corresponds to the value of the associated environment variables, LC_* and LANG
; see  the  Base
              Definitions volume of IEEE Std 1003.1-2001, Chapter 7, Locale and
the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 8, Environment
Variables.
--8<--

If you don't call it, you have a C locale, which can't handle UTF-8 or wide
characters. If you call it with "" you set up the user's current locale.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list