Convert UTF-16 to UTF-8 under Windows and Linux, in C

Change encoding to UTF-8 with PowerShell:

Get-Content PATH\temp.txt -Encoding Unicode | Set-Content -Encoding UTF8 PATH2\temp.txt

Leave a Comment