Re: Exposing get_filename_charset

On Thu, 2004-10-28 at 10:42, Owen Taylor wrote:
> On Thu, 2004-10-28 at 10:52 +0200, Alexander Larsson wrote:
> > I want to update nautilus to correctly handle the new
> > G_FILENAME_ENCODING in addition to G_BROKEN_FILENAMES. Is there any
> > chance that get_filename_charset() in gconvert.c could be exposed in the
> > public API?
> Well, you wouldn't want exactly that, perhaps, since G_FILENAME_ENCODING
> is defined as a comma-separated list of encodings and
> get_filename_charset() just returns the first one.
> The other question is whether we could push down what you are doing
> in Nautilus to GLib with a 
> 'g_filename_display_name (const char *filename)' or something like
> that.

That might be preferable, though I seem to remember that we have at
least one more request for exposing get_filename_encoding() in bugzilla.
Maybe that would be satisfied with display_name() as well


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