16.01.2013 20:41, Max Kellermann пишет: > I guess you can convert right into the std::string, can't you? > > (Maybe GLib cannot, but I mean technically it is possible.)
I see no methods here that return non-const buffer: http://www.cplusplus.com/reference/string/string/ So unless there is a library that can do character conversion char-by-char (i.e. iterator-like API) we'll need some temporary buffer. > Ok, I may have misunderstood/misread. I thought you were keeping > path_fs as it is, and only convert to OS encoding when a syscall is > invoked. OK. I'm glad we've finally came to conclusion on this feature. -- Denis ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team