'Special' wide char on mac

Hey rrybody,
I was wondering how to put 'special' characters from the OEM 437. Is it even possible since it seems that its only for windows?
Im trying to print out 2592 from
wchar_t test = 2592;

If w_char is the same size of unsigned short, you could print it formatted.
wchar is 4 and unsigned short is 2
how about an unsigned long then?
It has nothing to do with size of the object, it's all about how it's interpreted.

My approach would be to use ICU, there's a section in the documentation that describes how to map code page sets onto unicode. But don't have enough experience or the time to investigate to answer the question directly.
Topic archived. No new replies allowed.