Re: [gtkmm] UTF8 filenames? (Was One thing we didn't really discuss: ustring vs string)



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]