Skip to content

Commit 861f5b1

Browse files
authored
Merge pull request #50 from alexyan0431/fix/windows-utf8-stdin
2 parents a38ecf8 + c6c95dc commit 861f5b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/install-windows.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,6 +1654,7 @@ $LogFile = "$ClaudeHome\logs\notifications.log"
16541654
$HookData = ""
16551655
try {
16561656
if ([Console]::IsInputRedirected) {
1657+
[Console]::InputEncoding = [System.Text.Encoding]::UTF8
16571658
$HookData = [Console]::In.ReadToEnd()
16581659
}
16591660
} catch {

0 commit comments

Comments
 (0)