I have an application that is installed using NSIS 3.x. The installer stores a path in a file that will be later checked by the application. The path is written using the FileWrite
function; the documentation for FileWrite
states the following:
Writes an ANSI string to a file opened with FileOpen. If an error occurs writing, the error flag will be set.
(If you are building a Unicode installer, the function makes the adequate conversion and writes an ANSI string)
I know that ANSI is a loosely defined term (see this question, and its many answers). Is there a way to find out what is the actual encoding used by this NSIS function, so that I can later read the generated file properly from the application?