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

Read the contents of a file into a text buffer, automatically converting UCS-16 to UTF-8 (UTF-8 filename) If maxToRead = -1, read the entire file