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.
In reply to Re^2: confusing result from Win32::GetACP()
by ikegami
in thread confusing result from Win32::GetACP()
by hexcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |