Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

convert wchar_t to to multibyte

const wchar_t* input = L"Hello World";
const size_t SIZE = 256;
char result[SIZE];
int resultSize = wcstombs(result, input, SIZE);
 
PREVIOUS NEXT
Tagged: #convert #multibyte
ADD COMMENT
Topic
Name
1+3 =