On Tue, 2014-03-04 at 03:25 +0100, Krzysztof KosiĆski wrote:
URIs as used in Glib for file access should contain URL-escaped bytes in the filename encoding, so again there is little potential for error as long as we ignore old / strange Linux.
The functions Glib::filename_from_uri and Glib::filename_to_uri can be used to convert between local filenames and URIs.
OK, I'm going to need at least a few developers to confirm this consensus before I convert everything to using Glib uri handling instead of libxml2. The handling needs to support a few things, not just filenames/paths but also all the rest of the fields libxml2 provides.
Please confirm. std::ustring/GLib::ustring instead of std::string and filename_from_uri instead of libxml2/uri.h
Martin OWens,