SOLVED

How to change default code page of powershell console?

%3CLINGO-SUB%20id%3D%22lingo-sub-2275773%22%20slang%3D%22en-US%22%3EHow%20to%20change%20default%20code%20page%20of%20powershell%20console%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275773%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22niexuchina_0-1618570176154.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273292i78B994E1D015FC58%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22niexuchina_0-1618570176154.png%22%20alt%3D%22niexuchina_0-1618570176154.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EEvery%20time%20I%20launch%20Powershell%20console%20window%2C%20the%20code%20page%20is%20always%20936.%20How%20can%20I%20set%20it%20to%20other%20value%20such%20as%2065001%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2275773%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2277751%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20default%20code%20page%20of%20powershell%20console%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2277751%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%20I'm%20now%20trying%20to%20use%20a%20profile.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2276527%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20change%20default%20code%20page%20of%20powershell%20console%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2276527%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1028222%22%20target%3D%22_blank%22%3E%40niexuchina%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EPlease%20refer%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F57131654%2Fusing-utf-8-encoding-chcp-65001-in-command-prompt-windows-powershell-window%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F57131654%2Fusing-utf-8-encoding-chcp-65001-in-command-prompt-windows-powershell-window%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20that%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

niexuchina_0-1618570176154.png

Every time I launch Powershell console window, the code page is always 936. How can I set it to other value such as 65001?

2 Replies
best response confirmed by niexuchina (New Contributor)

Thanks. I'm now trying to use a profile.