Summary: Use Windows PowerShell to save data as a CSV file and maintain the Unicode encoding.
How can I use Windows PowerShell to save my data as a CSV file but ensure that it is saved as Unicode?
Make sure you specify the –Encoding parameter when you call the Export-CSV cmdlet, for example:
Export-Csv -Path C:\Data\Names.CSV -Encoding Unicode -NoTypeInformation
0 comments