[Dev-C++] How to find out code page in DOS Command Prompt
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jan M. <jan...@vo...> - 2007-05-02 09:08:18
|
Hello,
I would like to ask if there is a way to find out which code page
iscurrently set for Command Prompt in Windows (I use XP Prof).
I have tried to use somthing like
...
cp = system("chcp");
printf ("%d", cp);
But there is always 0 in return value cp.
The return values should be an implementation defined. So are they
implemtented in Windows? Did I a mistake?
Thank you.
Jan Mura
jan...@vo...
|