Archive: NsExec and ANSI characters


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?


Use /OEM switch:

nsExec::ExecToLog /OEM command
Pop $0

Thank you, it works fine. But what is the command "Pop $0" for?


ExecToLog pushs to the stack command result.


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.