[gst-devel] G_FILENAME_ENCODING

vikram kf ved.kpl at gmail.com
Tue Apr 21 12:03:25 CEST 2009


Hi,

Try typcasting to gchar*

g_object_set(G_OBJECT(fsink), "location", (gchar*)argv[1], NULL);

On Tue, Apr 21, 2009 at 2:45 PM, nikhil almalkar
<nikhil.almalkar at gmail.com> wrote:
> Hi all,
>
> I am trying to set a char pointer to the location of sink file. I think
> there is some proble with the encoding, as the location that my sink refer's
> to is not what i insert. It actually is grbage..
>
> Gtk-Message: The filename "\360\374O\t\230\375O\t" couldn't be converted to
> UTF-8.
>
> This is when I set G_FILENAME_ENCODING = UTF-8
>
> Also G_FILENAME_ENCODING = ISO-8859-1 is not working.
>
> I am using fedora 10.
>
> Thanks & Regards,
>
> Nikhil.
>
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list