OpenM++ runtime library (libopenm)
utf8Convert.cpp File Reference

OpenM++ UTF-8 converter: text bytes from source encoding (from Windows code page) to UTF-8. More...

Include dependency graph for utf8Convert.cpp:

Classes

class  openm::IUtf8Converter
 UTF-8 converter public interface. More...
 
class  Utf8CopyConverter
 
class  DefaultPageConverter
 
class  ExpicitPageConverter
 
class  Utf16LePageConverter
 
class  Utf16BePageConverter
 

Namespaces

 openm
 openM++ namespace
 

Macros

#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
 
#define IN_CVT_SIZE   OM_STR_DB_MAX /* input conversion buffer size, must be even on Windows */
 
#define OUT_CVT_SIZE   (4 * IN_CVT_SIZE) /* output conversion buffer size, must be at least 4*input buffer size */
 

Enumerations

enum  openm::CharCvtFrom {
  openm::CharCvtFrom::defaultPage, openm::CharCvtFrom::explicitPage, openm::CharCvtFrom::utf8, openm::CharCvtFrom::utf16Le,
  openm::CharCvtFrom::utf16Be, openm::CharCvtFrom::utf32Le, openm::CharCvtFrom::utf32Be
}
 character conversion from current encoding to UTF-8 More...
 

Detailed Description

OpenM++ UTF-8 converter: text bytes from source encoding (from Windows code page) to UTF-8.