LOAD_FILE_INFO_EX¶
Used by Editor_LoadFileA and Editor_LoadFileW inline functions ( EE_LOAD_FILEA and EE_LOAD_FILEW messages).
typedef struct _LOAD_FILE_INFO_EX {
	UINT cbSize;
	UINT nCP;
	BOOL bDetectUnicode;
	BOOL bDetectAll;
	BOOL bDetectCharset;
	BOOL bDetectUTF8;
	UINT nFlags;
} LOAD_FILE_INFO_EX;
Fields¶
cbSize
Must be sizeof(LOAD_FILE_INFO_EX).
nCP
Specifies a code page by which a file is opened.
CODEPAGE_CONFIG  | Uses file encodings specified in the configuration associated with the opened file.  | 
CODEPAGE_ANSI  | Normal ANSI  | 
CODEPAGE_UNICODE  | Unicode little endian  | 
CODEPAGE_UNICODE_BIGENDIAN  | Unicode big endian  | 
CODEPAGE_UTF8  | UTF-8  | 
CODEPAGE_UTF7  | UTF-7  | 
CODEPAGE_932  | Japanese Shift JIS  | 
CODEPAGE_JIS  | Japanese JIS  | 
CODEPAGE_EUC  | Japanese EUC  | 
CODEPAGE_AUTO_SJIS_JIS  | Converts from Japanese Shift JIS and JIS.  | 
CODEPAGE_AUTO_SJIS_JIS_EUC  | Converts from Japanese Shift JIS、JIS、EUC.  | 
Others  | All code pages you can use by system.  | 
bDetectUnicode
If TRUE, Unicode will be detected.
bDetectAll
If TRUE, all code pages will be detected.
bDetectCharset
If TRUE, HTML/XML Charset will be detected.
bDetectUTF8
If TRUE, UTF-8 will be detected.
nFlags
Specifies a combination of the following values.
LFI_ALLOW_ASYNC_OPEN  | Allows a file to be opened asynchronously.  | 
LFI_ALLOW_NEW_WINDOW  | Opens a file in a new window.  | 
LFI_USE_DISK_MODE  | Uses the disk-based mode when opening a file.  | 
LFI_DONT_USE_DISK_MODE  | Doesn't use the disk-based mode when opening a file. If neither LFI_USE_DISK_MODE nor LFI_DONT_USE_DISK_MODE is specified, EmEditor automatically selects to use the disk-based mode depending on the size of the file that is about to be opened.  | 
LFI_DONT_ADD_RECENT  | Doesn't add the file path to the recent file list.  |