[wix-users] Collation tailoring in ICU 58.1...

Lewis Henderson henderso at opentext.com
Wed Nov 16 10:29:09 PST 2016


Hi again everyone,

My case is a bit more complex than presented.  Ignore this for now, I need to do a little more research to find the specifics and look for a workaround on my own.

Sorry for the interruption.

				Lewis

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Lewis Henderson
Sent: Wednesday, November 16, 2016 1:03 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Collation tailoring in ICU 58.1...

Hi People,

I've had an application that tailored collation in a specific way under ICU 51.1 and earlier, but when I changed to ICU 58.1, the collation tailoring failed.  My tailoring includes many non-ASCII-7 characters (as one might expect).

The original tailoring had something like: "&a<*A\u00c1\u00c0B" and so on.  I tailored the collator by using the ucol_openRules() call.  When passed in, the rules string contained the actual UChar codes 0xc1 and 0xc0 rather than the "escaped" values.  This worked fine in 51.1, but gives me a U_INVALID_FORMAT error in 58.1.  However, if I escape the escaped values in the string, ("&a<*A\\u00c1\\u00c0B"), the actual call gets an escaped string and works in 58.1.  While this may be a workaround, it will increase the size of my tailoring string massively.

When did this behavior change, and should it have?  Is there a way around this, or am I stuck with a tailoring string  nearly six times larger than before?  Thanks for any advice.

                                                                Lewis Henderson
                                                                OpenText, Inc.


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DgICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=zsVuoBcvd_iImJAGXTi9JJwKsnpYSs8jI7l8YJ9lkYQ&s=SVZjxs1_CcRd3cW7YamGjJx95qRSZFh-9oYSXgV6AY8&e= 



More information about the wix-users mailing list