directory to text-file problem
so far i've been using this snipped of code to write files and their location into a simple text-file.
GetTempFileName $R0
ReadEnvStr $R1 COMSPEC
nsExec::Exec '"$R1" /C dir "$R9\*.avs" /a-d /b /s /on>$R0"'
though i know this could probably be done much more elegantly using the array plugin, i've never had a problem with the code until recently.
the attached file shows the the result of the dir command when using it on a folder containing the german letter ü in the word einzelstücke (likely happens with other characters such as á or è aswell). the reason why i'm creating this text-file in the first place, is to read the path to each file line-by-line later in my script. due to the problem with certain letters, i'm now looking for a more safe solution using nsis code. a workaround that replaces the affected characters would be a clumsy ways to do this.
i can think of reading those file-locations using the find command, but my problem comes up when the target directory contains multiple sub-directories of different structures.
at some point in the past afrow hinted me to using the arrays plugin, but the problem of directory-structures is still over my head.
for any hints, i'm very thankful.