Article

From:
To:
Rafael Ponte
Subject:
Re: Inno Setup .iss file does not support utf-8 encoding
Newsgroup:
jrsoftware.innosetup

Re: Inno Setup .iss file does not support utf-8 encoding

On 05/10/2012 15:50, Rafael Ponte wrote:
> Hi guys,
>
> When my .iss file is encoded with UTF-8 and it has some special
> characters within it like "ç" or "ã" those characters don't appear
> correctly on Wizard screen of installer. Those characters are used in
> brazilian portuguese language.
>
> For example, my app.iss file has this line:
> [Run]
> Filename: {app}\MyApp.bat; Description: "Instalar serviço
> SysPDVWebClient"; StatusMsg: "Instalando serviço do SysPDVWebClient...";
> Flags: skipifsilent
>
> Both Description and StatusMsg are showed incorrectly when using UTF-8
> encoding. But if I change the .iss file encoding to ISO-8859-1 all the
> special characters appear nicely on screen.
>
> The compilation works fine, but the real problem is that the special
> characters aren't appearing correctly. Probably it has to do with encoding.
>
> Could someone give me any tips on how to solve this?

Try using the unicode version of Inno Setup.
It handles correctly encoded UTF-8 files fine (see the help for examples 
and what you should not do though)

-- Deanna Earley (✉icode.co.uk) i-Catcher Development Team http://www.icode.co.uk/icatcher/
iCode Systems
(Replies direct to my email address will be ignored. Please reply to the group.)
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Thu, 14 Nov 2024 04:12:47 UTC
Copyright © 2009-2024
HREF Tools Corp.