Inno Setup Unicode message encoding issue in ISS script

We have a setup script for working with the Unoode compiler from Inno Setup. The installer currently supports English, German and French.

We were informed that the encoding of our user messages in French is incorrect. Custom message files are saved as UTF-8, so there shouldn't have been an encoding problem. We verified that we used the Unicode compiler rather than ANSI by accident.

image

Expected user message:

French.UninstallOldVersionPrompt=Il semble y avoir une version antérieure de Rubberduck installée sur ce système pour %s.There seems to be a previous version of Rubberduck, qui devra d'abord être désinstallée. Procéder à la désinstallation?

Source Link

The file is saved as UTF-8, so it should not have encoding problems. Something went wrong?

You can read more information in the Github issue

+4
1

.iss UTF-8, Unicode/UTF-8.

French.CustomMessages.iss, .

German.CustomMessages.iss , .


. , TTextFileReader.ReadLine.

+5

Source: https://habr.com/ru/post/1696316/


All Articles