Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: GyroTech on August 23, 2008, 09:42:32 pm

Title: File character encoding mess
Post by: GyroTech on August 23, 2008, 09:42:32 pm
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...

Code
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.