Skip to content

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.

Browse the core module

#include "engine/core/file_path.h" · namespace labrador

std::filesystem::path path_from_utf8(std::string_view path);
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.

The files that include this header directly. A file can also reach it through another header.

Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.