10#include "utilities-def.h"
67#define S_CA2W SStrCpCvt::CvtA2W
75#define S_CW2A SStrCpCvt::CvtW2A
84#define S_CA2A SStrCpCvt::CvtA2A
92#define S_CW2W SStrCpCvt::CvtW2W
Class for string code page conversion.
static SStringA CvtA2A(const SStringA &str, unsigned int cpFrom=CP_UTF8, unsigned int cpTo=0)
Converts a multi-byte string from one code page to another multi-byte code page.
static SStringA CvtW2A(const SStringW &str, unsigned int cp=0)
Converts a wide string (UTF-16) to a multi-byte string (ANSI or specified code page).
static SStringW CvtA2W(const SStringA &str, unsigned int cp=0, unsigned int cp2=0)
Converts a multi-byte string (ANSI or specified code page) to a wide string (UTF-16).
static SStringW CvtW2W(const SStringW &str, unsigned int cp=0)
Converts a wide string (UTF-16) to another wide string (UTF-16) with a specified code page.
A class representing an ASCII string.
A class representing an ASCII string.