#include #include #include #include void main() { unsigned char big_string[10]; int i; _setmbcp( 932 ); memset( (char *) big_string, 0xee, 10 ); big_string[9] = 0x00; for( i = 0; i < 10; i++ ) printf( "%2.2x ", big_string[i] ); printf( "\n" ); _mbsnbset( big_string, 0x8145, 5 ); for( i = 0; i < 10; i++ ) printf( "%2.2x ", big_string[i] ); printf( "\n" ); }