Is it possible to do a soql with sfdx and have the output in utf8 format? I trying extract out data in Thai language but I'm getting unreadable characters. This works fine in data loader. The code sample is below.
sfdx force:data:soql:query -u <username> -q "select Id, Name from Account" --resultformat json > "out.txt"
Also tried below command:
Get-Content "out.txt" | Set-Content -Encoding utf8 "out_utf8.txt"
Thank you.