[wix-users] Collation tailoring in ICU 58.1...
henderso at opentext.com
Wed Nov 16 10:03:12 PST 2016
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.
More information about the wix-users