unrarsrc  6.1.7
About: unrar extracts, views and tests the contents of archives created with the RAR archiver.
  Fossies Dox: unrarsrc-6.1.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

filestr.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool ReadTextFile (const wchar *Name, StringList *List, bool Config, bool AbortOnError=false, RAR_CHARSET SrcCharset=RCH_DEFAULT, bool Unquote=false, bool SkipComments=false, bool ExpandEnvStr=false)
 
RAR_CHARSET DetectTextEncoding (const byte *Data, size_t DataSize)
 

Function Documentation

◆ DetectTextEncoding()

RAR_CHARSET DetectTextEncoding ( const byte Data,
size_t  DataSize 
)

Definition at line 151 of file filestr.cpp.

References IsTextUtf8(), RCH_DEFAULT, RCH_UNICODE, and RCH_UTF8.

Referenced by ReadTextFile().

◆ ReadTextFile()

bool ReadTextFile ( const wchar Name,
StringList List,
bool  Config,
bool  AbortOnError = false,
RAR_CHARSET  SrcCharset = RCH_DEFAULT,
bool  Unquote = false,
bool  SkipComments = false,
bool  ExpandEnvStr = false 
)