MACRO
OMNI_CODE_PAGE
- Defines the underlying code page used during character conversion.
SYNOPSIS top
Defines the code page used during character and string conversion. Default value is CP_UTF8 if CP_UTF8 is defined by the compiler/linker or if the detected OS is Windows.
Defines the code page used during character and string conversion. Default value is CP_UTF8 if CP_UTF8 is defined by the compiler/linker or if the detected OS is Windows.
DESCRIPTION top
This flag defines the underlying code page utilized by the string and character namespace functions to convert between wide and narrow characters.
If the platform detected is Windows, or if the macro CP_UTF8 is already defined, then the defualt code page will be CP_UTF8, otherwise, it will be a 0, or whatever is defined in this macro.
For example, you can define
This flag defines the underlying code page utilized by the string and character namespace functions to convert between wide and narrow characters.
If the platform detected is Windows, or if the macro CP_UTF8 is already defined, then the defualt code page will be CP_UTF8, otherwise, it will be a 0, or whatever is defined in this macro.
For example, you can define
OMNI_CODE_PAGE
as CP_UTF16:#define OMNI_CODE_PAGE CP_UTF16