in reply to Re: confusing result from Win32::GetACP()
in thread confusing result from Win32::GetACP()
Those two code pages are unrelated.
A Windows process's code pages:
Code Page | Use |
---|---|
GetACP() | "A" Windows API functions Only used by file APIs if AreFileApisANSI() is true. |
GetOEMCP() | ? Used by file APIs if AreFileApisANSI() is false. |
GetConsoleCP() | For (keyboard) input of console apps |
GetConsoleOutputCP() | For (displayed) output of console apps |
Update: Added the second section.
|
---|