API Reference > Namespaces > OdDb Namespace > Structs, Records, Enums > OdDb::TextFileEncoding Enumeration
OdDb::TextFileEncoding Enumeration
Syntax
C++
enum TextFileEncoding { kTextFileEncodingDefault = 0, kTextFileEncodingANSI = 1, kTextFileEncodingUTF8 = 11, kTextFileEncodingUTF16 = 21, kTextFileEncodingUTF16LE = 22, kTextFileEncodingUTF16BE = 23, kTextFileEncodingUTF32 = 31, kTextFileEncodingUTF32LE = 32, kTextFileEncodingUTF32BE = 33 };

DbDatabase.h

Members 
Description 
kTextFileEncodingDefault = 0 
!< Chooses the current system encoding automatically. 
kTextFileEncodingANSI = 1 
!< Forces ANSI character set encoding text writing. 
kTextFileEncodingUTF8 = 11 
!< Uses UTF8 encoding for file writing. 
kTextFileEncodingUTF16 = 21 
!< Chooses UTF16 endian automatically. 
kTextFileEncodingUTF16LE = 22 
!< UTF16 LittleEndian. 
kTextFileEncodingUTF16BE = 23 
!< UTF16 BigEndian. 
kTextFileEncodingUTF32 = 31 
!< Chooses UTF32 endian automatically. 
kTextFileEncodingUTF32LE = 32 
!< UTF32 LittleEndian. 
kTextFileEncodingUTF32BE = 33 
!< UTF32 BigEndian. 

Determines what file encoding algorithm is used for functions that write data to a text file.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.