Re: GLib file name encoding (Was: Please join me...)
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: Tor Lillqvist <tml iki fi>, "David Necas (Yeti)" <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GLib file name encoding (Was: Please join me...)
- Date: Sat, 22 Jan 2005 03:29:11 +0200
Tor Lillqvist wrote:
David Necas (Yeti) writes:
> How can I write code so that it is source compatible with
> GLib and Gtk+ from 2.2 to 2.6+ without branching by GLib
> (Gtk+) version?
You can't. (If you want to support non-ASCII pathnames on Windows.)
Sorry.
WTF, this looks like a major design fault with GLib. I thought
2.x versions meant to be backward compatible? Or do you mean that
filename handling in pre-2.6 was incomplete and that 2.6 just made
it fully working? (In which case it is fine.)
Just today I decided to strengthen my code against weird filenames
and went on inserting things like
g_filename_to_utf8 (...)
g_filename_from_utf8 (...)
Is there a problem with this? My code is working on GTK+ 2.0 and
up (well, maybe apart from this filename issue...)
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]