You are here: C++ Support Classes > dtSearch Namespace > Classes > DString Class > DString::getFromU8 Method
DString::getFromU8 Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DString::getFromU8 Method
Syntax
C++
int getFromU8(const char * utf8Name, ptrdiff_t maxToRead = -1);

Read the contents of a file into a text buffer (UTF8 filename) If maxToRead = -1, read the entire file