2312的每个字节都大于a0的,所以不是2312
utf8常见的每个汉字用三字节编码,所以不是utf8
2023-03-16 23:25
2023-03-17 09:35
程序代码:#include <stdio.h>
#include <stdint.h>
int main( void )
{
const char16_t* s = u"机器人";
printf( "0x%04X 0x%04X 0x%04X\n", s[0], s[1], s[2] );
}
2023-03-17 13:13
2023-03-17 23:34