mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
Allow Console Output In UTF-8 (#378)
- Address issue where console output does not display UTF-8 string properly. - Resolves https://github.com/PowerShell/Win32-OpenSSH/issues/1225
This commit is contained in:
parent
afe4880c37
commit
959cbe3265
@ -65,5 +65,7 @@ snmprintf(char *buf, size_t len, int *written, const char *fmt, ...)
|
||||
void
|
||||
msetlocale(void)
|
||||
{
|
||||
// allow console output of unicode characters
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user