Re: [gtkmm] One thing we didn't really discuss: ustring vs string



Murray Cumming wrote:
[snip]
1. We currently use Glib::ustring whenever we are not _certain_ that the
string could never be UTF8. Filenames can probably never be UTF8 so they
should be std::string. Others might have more expertise.

Why can filenames never be UTF8? I thought one of the reasons for creating UTF8 was to be able to use Unicode in Unix filenames, avoiding the null-terminated string problems of using a 16-bit wide character Unicode encoding.


--
Michael Babcock
Jim Henson's Creature Shop





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