Skip to content

Commit 36fe25a

Browse files
author
Kapil Borle
committed
Save command data json file as UTF-8
1 parent 74c44c1 commit 36fe25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utils/New-CommandDataFile.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ $shortModuleInfos = Get-ChildItem -Path $builtinModulePath `
8787
}
8888
}
8989
$jsonData['Modules'] = $shortModuleInfos
90-
$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName))
90+
$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8

0 commit comments

Comments
 (0)