UTF-8 paths
Generated from engine/core/file_path.h at aceb130. The text under each declaration is the header's own comment, word for word. About the reference says how these pages are made.
Audience: game code.
#include "engine/core/file_path.h" · namespace labrador
path_from_utf8 · path_to_utf8
Section titled “path_from_utf8 · path_to_utf8”std::string path_to_utf8(const std::filesystem::path& path);Engine content paths are UTF-8, independent of the process ANSI code page. Convert at every filesystem/API boundary. Embedded NULs are rejected rather than opening a truncated path.
In the samples and tests
Section titled “In the samples and tests”The files that include this header directly. A file can also reach it through another header.
tests/app/content_root_tests.cpptests/core/file_path_tests.cpp
Explained in
Section titled “Explained in”No guide or concept page links to this header yet.
Development documentation (unreleased). Built from Labrador aceb130 of 2026-11-20.