readUtf8

File::readUtf8

Reads UTF-8 data from a file.

Declaration

static std::wstring readUtf8(const std::string& filePath);

Parameters

Name

Type

Description

filePath

const std::string&

The path to the file to read from.

Returns

The content of the file.