UTF-8 paths
Generated from engine/core/file_path.h at 862e08b. The text under each declaration is the header's own comment, word for word. About the reference says how these pages are made.
#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
Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.