readUtf8 ======== :doc:`/types/File/index`::readUtf8 Reads UTF-8 data from a file. Declaration ----------- .. code-block:: cpp static std::wstring readUtf8(const std::string& filePath); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - filePath - const `std::string `_\& - The path to the file to read from. Returns ------- The content of the file.