Skip to content
⌘ NSIS Forum Archive

Convert Win .reg files to ANSI

1 posts

ChocJunkie#

Convert Win .reg files to ANSI

Hey,

I'm trying to convert my .reg files from Unicode to ANSI using the Unicode plugin.
${Log} "Converting $R0 to ANSI ..."
StrCpy $R1 "$PLUGINSDIR\tmp\$R0"
unicode::FileUnicode2Ansi "$0" "$R1" AUTO
Pop $R0
$R0 is 0 after executing and my file ($R1) exists, but it's empty.
What am I doing wrong?

Thanks 🙂

CJ