SetUnicode

Sets/clears the FILE_UNICODE flag.

void  SetUnicode(
   bool  unicode      // flag value
   )

Parameters

unicode

[in]  New value for FILE_UNICODE flag.

Note

The result of string operations is dependent on the FILE_UNICODE flag. If it is false, the ANSI codes are used (one byte symbols). If it set, the UNICODE codes are used (two byte symbols). If the file is already opened, the flag cannot be changed.