[gstreamer-bugs] [Bug 350034] file{src, sink} don't convert to filesystem encoding
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Aug 29 09:18:12 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=350034
GStreamer | gstreamer (core) | Ver: HEAD CVS
Wim Taymans changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wim at fluendo.com
Attachment #70657|none |reviewed
Flag| |
------- Comment #6 from Wim Taymans 2006-08-29 16:17 UTC -------
Two possibilities:
1) always require UTF-8 as filenames, use GLib g_fopen to make this work on
windows (which then does a conversion to UTF-16). Do conversion to the file
system encoding before calling g_fopen on Posix.
2) Pass the pathname in the GLib file name encoding. On POSIX this is the
actual on-disk encoding which might correspond to the locale settings of
the
process (or the G_FILENAME_ENCODING environment variable), or not.
On Windows this is UTF-8.
GLib recommends 2) which requires the Application to figure out the file name
encoding. 1) requires the sink to figure out the encoding, which is probably
even harder.
This patch does 1) and requires the locale of the app to be set to the correct
encoding of the target file system.
--
Configure bugmail: http://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