[#fs-path-utf8string] = xref:fs.adoc[fs]::xref:fs/path.adoc[path]::utf8string :relfileprefix: ../../ :mrdocs: Return a UTF‐8 representation of the path as a std::string, for compatibility with code using std::string. For code using the newer std::u8string type, it is more efficient to call the inherited std::filesystem::path::u8string method instead. == Synopsis Declared in `<util/fs.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string utf8string() const; ---- == Return Value The path encoded as a UTF‐8 std::string. [.small]#Created with https://www.mrdocs.com[MrDocs]#