Reputation: 31
I'm trying to print some encoding characters using "en_US.UTF-8" standard on a Linux machine, but there are some characters that do not appear. I can see characters from 161 to 255 correctly, but from 128 to 160 I can not see anything. This is the code I am using:
int main(void)
{
setlocale(LC_ALL, "en_US.UTF-8");
wchar_t c;
for (c = 128; c < 256; c++) {
std::wcout<< " \n" << c << '\n';
}
return 0;
}
someone who can help me with this? I would appreciate it very much.
Upvotes: 1
Views: 117
Reputation: 17238
The Unicode code points between 128 and 160 represent (non-printable) control codes.
Upvotes: 5