Cmdlets for CSV

Build 25.0.9539

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.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539