Re: Can someone please comment on this short program

On Thu, 2005-12-15 at 10:25 +0100, Alexander Larsson wrote:
> However, if you got the filename string from a normal UI element e.g. a
> GtkEntry (not a GtkFileChooser, i think that returns filename encoding)

So, we can use the result of gtk_file_chooser_get_uri() directly as the
parameter to gnome_vfs_uri_new(), because GtkFileChooser gives us an
escaped ASCII URI?

> its always in utf8 encoding (as are all strings in a Gtk+ ui). So, you
> must call g_filename_from_utf8 before gnome_vfs_get_uri_from_local_path.

Murray Cumming
murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]