Convert utf16 unsigned short to utf8 unsigned char

前端 未结 0 682
借酒劲吻你
借酒劲吻你 2020-11-30 19:46

I have the following:

unsigned short *name = new unsigned short[name_size];
memcpy_s(name, name_size*2, &byteArray[offset], name_size*2);

相关标签:
回答
  • 消灭零回复
提交回复
热议问题