I tried adding “Unicode true” and “!define Unicode true” at the beginning of NSIS.template.in but the result was the same.