Home>
Status

Currently PowerShell code page is shift-jis.

I want to remotely login to another server using the SSH function of Powershell.

However, the server environment is Linux and the character code is EUC.
Therefore, we want to convert the PowerShell console code page to EUC.

Problem

Even if you specify a code page for EUC in Powershell, you cannot specify it.
(51932 is EUC character code https://www.ipentec.com/document/windows-codepage-list)

I want to solve

Can I specify the page code of the console arbitrarily?
Also, if you know how to specify, please let me know.

  • Answer # 1

    The PowerShell console code page seems to be stored in the following registry:
    Computer \ HKEY_CURRENT_USER \ Console \% SystemRoot% _System32_WindowsPowerShell_v1.0_powershell.exe

    The registry operation was performed directly, but in this case, the characters entered by the console are no longer displayed.

    In the first place, the character codes that can be supported on the console side may have been decided. (I thought it was just an encoding process ...)

    Sorry, it will not be possible to solve, so the above verification will be self-solved.