-
Notifications
You must be signed in to change notification settings - Fork 0
Test BrokenEncoding
github-actions edited this page Jul 24, 2026
·
1 revision
Returns true if text contains a nonsense sequence of characters resulting from parsing text with the wrong encoding.
Test-BrokenEncoding [-InputObject] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Test-BrokenEncoding -Path <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
'1.2.1 â€" 1.3.4' |Test-BrokenEncoding
True
A string to test.
Type: String
Parameter Sets: InputObject
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseA file to test.
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.