#include <stdio.h>
#include <locale.h>
#include <wchar.h>
int main() {
// setlocale("LC_ALL","");
unsigned char utf[]={0xe4,0xb8,0x80,0x0a};
printf("%s",utf);
return 0;
}
- The first four bytes of output are correct. The second line in the console is not expected