Hi,

this behavior does happen for other languages: in my case German. There's
already a bug filed for this rather weird behavior.

IIRC you can use Product/@Codepage="!(loc.Codepage)" to work around having
localizations with different codepages.

Dirk

2009/6/25 Sascha Beaumont <sascha.beaum...@gmail.com>

> Well after a bit of messing around I figured out the issue.
>
> Light complains that Dutch characters don't match Codepage 1252
> (default codepage) unless Product/@Codepage is *explicitly* specified
> as 1252. Strange that it doesn't happen for other languages :/
>
> Anyway, bug lodged with example code - hope this helps anyone who
> comes across a similar issue in the future.
>
> Sascha
>
> On Thu, Jun 25, 2009 at 10:35 AM, Sascha
> Beaumont<sascha.beaum...@gmail.com> wrote:
> > Thanks Neil,
> >
> > That at least gives me hope! Are you using the latest 3.0 drop? Looks
> > like I'll have to put together a sample project and narrow down the
> > issue :)
> >
> > Sascha
> >
> > On Wed, Jun 24, 2009 at 9:54 PM, Neil Sleightholm<n...@x2systems.com>
> wrote:
> >> I am building Dutch ok with Codepage="1252" and Product/@Language=1043.
> >>
> >> Neil
> >>
> >> Neil Sleightholm
> >> X2 Systems Limited
> >> n...@x2systems.com <mailto:n...@x2systems.com>
> >>
> >>
> >> ________________________________
> >>
> >> From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com]
> >> Sent: Wed 24/06/2009 09:40
> >> To: General discussion for Windows Installer XML toolset.
> >> Subject: [WiX-users] Unable to create Dutch localization - invalid
> codepage
> >>
> >>
> >>
> >> Hi All,
> >>
> >> Is anyone out there successfully able to utilize the Dutch (nl-NL) WiX
> >> localizations??
> >>
> >> I'm getting 50+ LGHT0311 errors complaining about a mismatched
> >> codepage. However from what I understand (i.e. lots of googling)
> >> Codepage 1252 is indeed correct for the Dutch language. It appears
> >> that it's complaining about any strings with umlauts, however this
> >> makes no sense when I'm able to successfully use the German (de-DE)
> >> localizations.
> >>
> >> Error:
> >>
> >>    [light]
> C:\delivery\Dev\wix30_public\src\ext\UIExtension\wixlib\ErrorProgressText.wxs(18)
> >> : 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.
> >>
> >> In this case the string in question is defined in wixlib/WixUI_nl-nl.wxl
> as:
> >>  <String Id="ProgressTextInstallFiles" Overridable="yes">Bezig met het
> >> kopiëren van nieuwe bestanden</String>
> >>
> >> Any help/suggestions/voodoo spells would be appreciated.
> >>
> >>
> >> Cheers,
> >> Sascha
> >>
> >>
> ------------------------------------------------------------------------------
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> WiX-users mailing list
> >> WiX-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> >>
> >>
> >
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to