readFileUTF8

Read a whole UTF-8 encoded file into a string.

The resulting string will be sanitized and will have the optional byte order mark (BOM) removed.

  1. string readFileUTF8(NativePath path)
    @safe
    string
    readFileUTF8
  2. string readFileUTF8(string path)

Meta