I'm working (as usual) on our front end, InstallerBuilder.

We are in a multilingual environment, and one which often involves several 
languages being used semi-simultaneously. The convention for one of our 
applications (recently upgraded and now to be installed using MSI, etc.) is to 
have a shortcut named so that the string contains a capital E with a circumflex 
accent on it regardless of the actual locale of the user (so the shortcut name 
is named in both English and French everywhere). This character is available in 
the default code page, 1252, as are all of the characters we need. However, 
when a WXS file is linked with light that contains one of these characters 
(accidentally typed as a E with a diaresis/umlaut in our testing, but this 
exists in 1252 as well) we get:

error LGHT0311 : A string was provided with characters that are not available 
in the specified database code page '1252'. Either change these characters to 
ones that exist in the database's code page, or update the database's code page 
by modifying one of the following attributes: Product/@Codepage, 
Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or 
WixLocalization/@Codepage.

I assume this has something to do with the fact that the character is being 
represented in UTF-8 encoding in the WXS file, and then this is translating 
wrongly somehow into Windows Installer's older encoding or the like. Is this a 
bug? Should we somehow represent this character differently? Change the 
encoding of the WXS file? 

Thanks,



Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to