Skip to content

Commit eba9c93

Browse files
author
Kapil Borle
committed
Encode command data json files as utf8
1 parent 1734e74 commit eba9c93

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
@@ -112,4 +112,4 @@ Add-Member -InputObject $shortModuleInfo -NotePropertyName 'ExportedAliases' -No
112112

113113
$allShortModuleInfos = $shortModuleInfos + $shortModuleInfo
114114
$jsonData['Modules'] = $allShortModuleInfos
115-
$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding ASCII
115+
$jsonData | ConvertTo-Json -Depth 4 | Out-File ((Get-CmdletDataFileName)) -Encoding utf8

0 commit comments

Comments
 (0)