Old 12th October 2021, 06:55   #1
Junior Member
Join Date: Jan 2009
Posts: 23
small bug with unicode

my unicode installer uses an external .INI file for a custom page (MUI_INSTALLOPTIONS_INITDIALOG)

As this page contains some "funny" characters, I saved the INI as UTF8 too. Here's the small bug: If this INI file includes the UTF8 BOM, then the installation silently fails, the page doesn't show at all

If I exclude the BOM, then it is all fine. My main NSI file is also UTF8 with a BOM but works fine

not the end of the world, but I imagine it should be an easy fix
umeca74 is offline   Reply With Quote
Old 12th October 2021, 08:49   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,484
Unicode .ini files need to be UTF-16 with BOM.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump