-
Notifications
You must be signed in to change notification settings - Fork 0
Repair Encoding
github-actions edited this page Jul 24, 2026
·
1 revision
external help file: Detextive.dll-Help.xml Module Name: Detextive online version: https://msdn.microsoft.com/library/dd383463.aspx schema: 2.0.0
Re-encodes commonly mis-encoded text.
Repair-Encoding [-InputObject] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Repair-Encoding -Path <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Repair-Encoding.ps1 'SmartQuotes Aren’t'
SmartQuotes Aren't
The string containing encoding failures to fix.
Type: String
Parameter Sets: InputObject
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseA mis-encoded file to fix.
Type: String
Parameter Sets: Path
Aliases: FullName
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.