Hello,

I'm trying to write a program, which uses east european characters when writing/reading. Any basic program, like:
Code:
#include <iostream>
#include <string>
using namespace std;
int main(){

cout << "ĄĄĄĄĄŻŻŻŻ"<<endl;
return 0;
}
Puts to console something like: "ñññññ╜╜╜╜" (when the source file is coded as OEM 852) and like "ÑÑÑÑÑ»»»»" (when the source file is coded as Windows-1250).

My console says:
Code:
C:\>chcp
Active code page: 437
I've tried using locales (setlocale(LC_ALL, "Polish") doesn't work), using OemToChar and CharToOem (without any result).

I believe there is a very simple solution to this one, however, I've never worked in codepage subject, so for me it's quite new issue.

I'd be very grateful for any help.