Re: [gtkmm] UTF8 filenames? (Was One thing we didn't really discuss: ustring vs string)
- From: Sebastian Rittau <srittau jroger in-berlin de>
- To: Michael Babcock <mbabcock la creatureshop henson com>
- Cc: GTKmm Mailing List <gtkmm-list gnome org>
- Subject: Re: [gtkmm] UTF8 filenames? (Was One thing we didn't really discuss: ustring vs string)
- Date: Tue, 13 Aug 2002 01:48:16 +0200
On Mon, Aug 12, 2002 at 11:54:23AM -0700, Michael Babcock wrote:
> Right, but to be clear, if you wanted to use filename in Gtk, such as in
> a Label or Entry, you _would_ want to convert it to UTF8 to support
> multilingual text, correct? Likewise, if you have an Entry where the
> user can type a filename, you should convert that from UTF8 before
> calling open on it, correct?
Every filename gotten from gtk+ or passed to gtk+ with the notable
exception of gtk_file_selector_[gs]et_filename() need to be passed
through g_filename_{from,to}_utf8(), respectively.
(So, the short answer is: Correct.)
- Sebastian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]