Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: confusing result from Win32::GetACP()

by ikegami (Patriarch)
on Aug 20, 2025 at 14:18 UTC ( [id://11166067]=note: print w/replies, xml ) Need Help??


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 PageUse
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2025-12-09 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (90 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.