Error loading LicenseLangString
I am always using Unicode NSIS.
I am creating a multi language installer but I have some problems showing the license text in the right language.
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "$(license)"
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "Italian"
LicenseLangString license ${LANG_ENGLISH} "license_en.txt"
LicenseLangString license ${LANG_ITALIAN} "license_it.txt"
This code works with ANSI nsis, but in Unicode I have some problems because of the codification of the LicenseLangString. I saw that in the compile log only english license is encoded in UTF-8 and shown correctly. The others are encoded in UTF-16 LE and not shown with understandable chars.
What can I do to solve this problem?