Charset Parameter (Connect-CSV Cmdlet)
Specifies the character set that the provider uses to encode and decode text data when reading from or writing to files.
Syntax
Connect-CSV -Charset string
Data Type
cstr
Default Value
"UTF-8"
Remarks
This property defines the character encoding used for all text operations. The default value is UTF-8, which supports most international characters.
Use this property to ensure consistent encoding when working with files created on systems that use a different default charset.