-
Notifications
You must be signed in to change notification settings - Fork 0
Get FileEncoding
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/s064f8w2aspx schema: 2.0.0
Returns the detected encoding of a file.
Get-FileEncoding [-Path] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Get-FileEncoding README.md
Preamble :
BodyName : utf-8
EncodingName : Unicode (UTF-8)
HeaderName : utf-8
WebName : utf-8
WindowsCodePage : 1200
IsBrowserDisplay : True
IsBrowserSave : True
IsMailNewsDisplay : True
IsMailNewsSave : True
IsSingleByte : False
EncoderFallback : System.Text.EncoderReplacementFallback
DecoderFallback : System.Text.DecoderReplacementFallback
IsReadOnly : True
CodePage : 65001
A file to test.
Type: String
Parameter Sets: (All)
Aliases: FullName
Required: True
Position: 0
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.