fabiochelly
28th November 2005 14:37 UTC
NsExec and ANSI characters
Hi,
I use NsExec::ExecToLog to execute commands.
The problem is that special characters are not displayed properly as you can see on this screenshot ('e' acute are replaced by commas):http://chelly.net/disk/screenshot.png
Is there a way to correct this problem?
Instructor
28th November 2005 14:55 UTC
Use /OEM switch:
nsExec::ExecToLog /OEM command
Pop $0
fabiochelly
28th November 2005 17:02 UTC
Thank you, it works fine. But what is the command "Pop $0" for?
Instructor
28th November 2005 17:46 UTC
ExecToLog pushs to the stack command result.
fabiochelly
28th November 2005 19:07 UTC
Ah OK. In fact I use it only because it also sends the output to the NSIS output window.
Thank you very much for your help.