The current PowerShell code page is shift-jis.
I would like to log in to a remote server using the SSH feature of Powershell.
However, the server environment is Linux and the character code is EUC.
Therefore, we would like to convert the PowerShell console code page to EUC.
You cannot specify a code page for EUC in Powershell.
(51932
is the EUC character code by referring to the page below.)
Note:
Windows Text Code Page List (Windows Tips)
Is it not possible to specify the page code of the console arbitrarily?
Also, if anyone knows how to specify it, please let me know.
The question is likely to change, but I will summarize the 21932 and 50932.
Console Code Pages, as described in the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage
You can only use the code page registered with .And there's no 50932 here, but 21932.By the way, 21932 and 50932 have
WideCharToMultiByte
ConvertINetUnicodeToMultiByte
of that came with IE.dll
ConvertINetUnicodeToMultiByte
of MLang.dll
that comes with IEWideCharToMultiByte
ConvertINetUnicodeToMultiByte
of that came with IE.dll
ConvertINetUnicodeToMultiByte
of MLang.dll
that comes with IEThere is a slight difference from .
© 2024 OneMinuteCode. All rights reserved.