Share

AcFILE::setCharFormat

C++

unsigned setCharFormat(
    unsigned nFmt
);

Description

Sets the character format for the file associated with this object.

Valid format values are:

  • AdCharFormatter::kAnsi - ANSI character format
  • AdCharFormatter::kUtf8 - UTF8 encoding format
  • AdCharFormatter::kUtf16LE - UTF16 little endian encoding format
  • AdCharFormatter::kUtf16BE - UTF16 big endian encoding format
  • AdCharFormatter::kUtf32LE - UTF32 little endian encoding format
  • AdCharFormatter::kUtf32BE - UTF32 big endian encoding format

Returns the previous character format that was being set to the file.

Parameters

Parameters Description
nFmt Input desired character format of the file

Links

AcFILE

Was this information helpful?