I am on a Linux system and set the keyboard setting to UK in order to capture and print out a UK pound symbol (£).
Here is my code:
int main ()
fputws (L"Enter text:\n", stdout);
wprintf(L"wc = %lc %d 0x%x\n", wc, wc, wc);
} while (wc != -1);
Here is the output:
wc = GBP 163 0xa3
I want to print out the actual UK pound symbol (£) instead of GBP...how can I do that?
Last edited on