I have enhanced the collation test, 22.locale.collate.cpp with a bunch of cases that deal with embedded strings, inside the input strings as well as at the edges. More defects became apparent, and they have been fixed. I have re-worked the src/collate.cpp patch and I am attaching it here. All collation tests (old and new) pass. If there are no objections, I will check it in later in the week. Thanks, Liviu On 10/13/12 11:16, Liviu Nicoara wrote: > The initial patch does not pass the following test case. Have re-worked > the patch and attached it to the incident, and I am also attaching it > here. It passes all collate tests.