[WiX-users] multiple cultures and codepage error

2007-04-03 Thread DE�K JAHN, G�bor
On Tue, 3 Apr 2007 13:16:42 +0200, Jacek Blaszczynski wrote:

Rob,

> Similar problem was raised by me several months ago and the
> authoritative answer of one of MSFT WiX developers was that utf-8
> is supported by windows installer database and can be used to
> support multiple cultures but the feature is not documented.

Rob, could we have your word on that? The localization of at least one language 
(Esperanto) has been halted because no codepage covers its character 
requirements. UTF-8 is all right but if I feed the correct localized .wxl file 
into the process, the characters in question all come out as question marks.

To put it frankly, this Unicode problem with Windows Installer is becoming 
worse than ridiculous.

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] multiple cultures and codepage error

2007-04-03 Thread DE�K JAHN, G�bor
On Mon, 2 Apr 2007 11:07:26 -0400, Huck, Jacob wrote:

Huck,

> Is there a common codepage that works with most languages and
> Windows Installer?  Such as utf-8 (65001)?

Unfortunately, not. No Unicode in any shape or form. You're limited to the 
existing set of codepages (as listed in the MSDN). If the language you want to 
localize into is not covered by any of those codepages, you're out of luck.

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] multiple cultures and codepage error

2007-04-02 Thread Bob Arnson

Huck, Jacob wrote:
So to be clear, it is only useful to pass in multiple cultures in at 
the same time when all of those cultures share the same codepage?


Yes. MSIs support only a single codepage.

Is there a common codepage that works with most languages and Windows 
Installer?  Such as utf-8 (65001)?  I seem to recall reading that 
while it may work, string may not work correctly (explicitly here: 
http://www.nabble.com/Multi-language-msi-tf2057536.html#a5669170, but 
then somewhat contractdicted here: 
http://blogs.msdn.com/heaths/archive/2005/10/05/477577.aspx).


It's not documented to work and doesn't work in some cases.

And more importantly, if I switch to using a common codepage like 
utf-8, will my localization strategy (based on including additional 
transform streams, 
http://www.installsite.org/pages/en/msi/articles/embeddedlang/index.htm) 
work?


I don't know. But external transforms (already supported by the WiX 
bootstrapper) would work. And then you're in documented territory.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] multiple cultures and codepage error

2007-04-02 Thread Huck, Jacob
So to be clear, it is only useful to pass in multiple cultures in at the
same time when all of those cultures share the same codepage?
 
Is there a common codepage that works with most languages and Windows
Installer?  Such as utf-8 (65001)?  I seem to recall reading that while
it may work, string may not work correctly (explicitly here:
http://www.nabble.com/Multi-language-msi-tf2057536.html#a5669170, but
then somewhat contractdicted here:
http://blogs.msdn.com/heaths/archive/2005/10/05/477577.aspx).  
 
And more importantly, if I switch to using a common codepage like utf-8,
will my localization strategy (based on including additional transform
streams,
http://www.installsite.org/pages/en/msi/articles/embeddedlang/index.htm)
work?



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 31, 2007 3:48 PM
To: Huck, Jacob
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] multiple cultures and codepage error


Huck, Jacob wrote: 

When I go to light an msi using the above wixlib and numerous
other wixlibs that are not localized, I find that when I pass in
"-cultures:en-us" the msi compiles without any issues, but as soon as I
pass in "-cultures:ja;en-us", I get the following error:
 
light.exe : error LGHT0101 : The codepage '1252' has been
specified in multiple localization files.  Please resolve the conflict.
 
Any insight into this error?  When I compiled it with just
en-us, it clearly was using codepage 1252 in multiple loc files.  My
understanding was that the multiple entries passed into the -culture arg
were to indicate an order of "use ja strings first if found, and en-us
strings if not". 



Your understanding is correct but runs into the limitations of MSI: You
can't mix codepages in the MSI. The error isn't very good (please file a
bug -- it should be more descriptive) but basically it's saying that
once a codepage has been set, you can't set a different one. The end
result would be two codepages, and MSI doesn't support that.

-- 
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] multiple cultures and codepage error

2007-03-31 Thread Bob Arnson

Huck, Jacob wrote:
When I go to light an msi using the above wixlib and numerous other 
wixlibs that are not localized, I find that when I pass in 
"-cultures:en-us" the msi compiles without any issues, but as soon as 
I pass in "-cultures:ja;en-us", I get the following error:
 
light.exe : error LGHT0101 : The codepage '1252' has been specified in 
multiple localization files.  Please resolve the conflict.
 
Any insight into this error?  When I compiled it with just en-us, it 
clearly was using codepage 1252 in multiple loc files.  My 
understanding was that the multiple entries passed into the -culture 
arg were to indicate an order of "use ja strings first if found, and 
en-us strings if not".


Your understanding is correct but runs into the limitations of MSI: You 
can't mix codepages in the MSI. The error isn't very good (please file a 
bug -- it should be more descriptive) but basically it's saying that 
once a codepage has been set, you can't set a different one. The end 
result would be two codepages, and MSI doesn't support that.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] multiple cultures and codepage error

2007-03-30 Thread Huck, Jacob
We've broken our build into numerous WiX fragments which in turn compile
into numerous wix libs.  All wixlibs contain english strings at a
minimum and a few (namely the Dialog wixlibs) contain muliple languages
under different cultures and codepages.  
 
For example, our "common_dialogs.wixlib" might contain the following
 
One .wxl file contains:
http://schemas.microsoft.com/wix/2003/11/localization
 ">
...
 
Another
http://schemas.microsoft.com/wix/2003/11/localization
 ">
...
 
and so on.  All are passed into lit.exe at the same time, which compiles
with an issue.
 
When I go to light an msi using the above wixlib and numerous other
wixlibs that are not localized, I find that when I pass in
"-cultures:en-us" the msi compiles without any issues, but as soon as I
pass in "-cultures:ja;en-us", I get the following error:
 
light.exe : error LGHT0101 : The codepage '1252' has been specified in
multiple localization files.  Please resolve the conflict.
 
Any insight into this error?  When I compiled it with just en-us, it
clearly was using codepage 1252 in multiple loc files.  My understanding
was that the multiple entries passed into the -culture arg were to
indicate an order of "use ja strings first if found, and en-us strings
if not".  
 
Thanks
-jh
 
 
 
 
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users