News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

File character encoding mess

Started by GyroTech, August 23, 2008, 09:42:32 PM

Previous topic - Next topic

GyroTech

HI, I think at some point I've messed up the settings for file encoding somewhere along the line  :?

I'm running version 8.02, on Windows XP, below is an example of what I mean...

char corner = 201;
cout << corner << endl; // outputs ╔ as expected
cout << "╔" << endl; // outputs ôòö wtf??


Which file encoding should\can I be using without having to use character ordinal values for everything??

Cheers.