powershell or cmd to enable "use Unicode UTF-8 for worldwide language support"

Eaven HUANG 2,196 Reputation points
2022-07-05T02:25:16.533+00:00

Dear experts,

As captioned, is there any chance that we can do it via Powershell or CMD? The reason why I ask this is that we have hundreds of existing computers unchecked this option and we need to enable it, it's really annoying if we have to do it one by one manually.

Thanks a lot.

217562-powershell-enable-utf-8.png

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. DaveK 1,871 Reputation points
    2022-07-05T09:33:22.98+00:00

    I've had a quick google and it suggested it maybe these reg keys which are changed when ticking the box in the UI.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
    "ACP"="65001"
    "OEMCP"="65001"
    "MACCP"="65001"

    You could maybe set those ( sounds like a restart might be needed too)

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.