vibe.d beta banner
get vibe.d
0.7.31

Function readFileUTF8

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

string readFileUTF8 (
  Path path
);

string readFileUTF8 (
  string path
);

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

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.