In Unicode Comparison Mode, introduced in v3.2, all string comparison operations (both traditional string and symbol and unicode string) use an ICU library collator, unlike in standard mode in which native GemStone code is used to perform comparisons.
When changing an existing application from the standard mode to Unicode Comparison Mode, you must take steps to ensure any structures relying on comparisons are rebuilt; indexes on strings must be rebuilt, sorted collections on strings may need to be re-sorted, and dictionaries with string keys may need to be rebuilt.
While the risk is primarily that lookups may fail to find objects, if you do not rebuilt indexes it reports a corrupt object error as below. This error is in the underlying system comparison and is not detected by auditIndexes.
ERROR 2261 , a InternalError occurred (error 2261), The object with object ID 20 is corrupt. Reason: 'relops: encrypt (no Unicode collator) -- Unicode strings encountered' (InternalError)
As part of changing to Unicode Comparison Mode, carefully ensure your application has had all string-sort based structures rebuilt.
Last updated: 8/13/18