Forum Discussion
rraghvani
Champion Level 3
I use PowerShell https://stackoverflow.com/questions/23256911/encode-a-string-in-utf-8 as I also don't have dotNet.
Henry1
2 years agoContributor
I came across this suggestion already yesterday.
Unfortunatly this works correct in powershell itself. But if I call the powershell via WshShell.Exec within my script the UTF-8 encoding is gone because it seams that WshShell only can handle ascii in stdout.
Try this as a simple example:
oExec := WshShell.Exec('powershell -command echo ßäöü');
oExec.StdIn.Close;
strOutput := oExec.StdOut.ReadAll;
Log.Message(strOutput);
Related Content
- 5 years ago
- 3 years ago
- 2 years ago
- 4 years ago
Recent Discussions
- 18 hours ago
- 18 hours ago
- 5 days ago