Skip to content

export-csv defaults to ascii (PS 5.1) #4224

@jszabo98

Description

@jszabo98

Export-csv defaults to ascii, not default or ansi. You can test this by exporting something with accents in it. import-csv cannot recognize ansi. Get-content and set-content can work with ansi. Out-file defaults to unicode.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area-utilityArea - Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions