RecAPI
Loading...
Searching...
No Matches
Codepage Conversion Mode flags for extended code page conversion

These flags describe the way how the extended code page conversion functions kRecConvertCodePage2UnicodeEx and kRecConvertUnicode2CodePageEx work. More...

Macros

#define CCM_CP_CURRENT   0x01
 Use the current code page for conversion.
 
#define CCM_CP_UTF8   0x02
 Use the UTF-8 code page for conversion.
 
#define CCM_CP_ANSI   0x03
 Use the ANSI code page (CP 1252) for conversion.
 
#define CCM_CONV_CHAR   0x10
 Convert a single character only.
 
#define CCM_CONV_STRING   0x20
 Convert the full zero terminated string.
 
#define CCM_UTF8_STRING   (CCM_CP_UTF8 | CCM_CONV_STRING)
 Combined flag for UTF-8 strings.
 

Detailed Description

These flags describe the way how the extended code page conversion functions kRecConvertCodePage2UnicodeEx and kRecConvertUnicode2CodePageEx work.

One of the

CCM_CP_*

flags is to be combined with one of the CCM_CONV_* flags. There is one pre-combined flag for the most frequently used case (

#define CCM_UTF8_STRING
Combined flag for UTF-8 strings.
Definition KernelApi.h:12812

).