User forums > Using Code::Blocks
File character encoding mess
(1/1)
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...
--- Code: ---char corner = 201;
cout << corner << endl; // outputs ╔ as expected
cout << "╔" << endl; // outputs ôòö wtf??
--- End code ---
Which file encoding should\can I be using without having to use character ordinal values for everything??
Cheers.
Navigation
[0] Message Index
Go to full version