title: How to convert pipeline to CSV format and specify UTF-8 encoding
body: <p>In a Windows PowerShell script, I want to execute code which converts a pipeline to CSV format, and encoding should be in UTF-8. How can I do this?</p>