From: Carl Hetherington Date: Tue, 17 Jan 2023 16:21:46 +0000 (+0100) Subject: Add a comment. X-Git-Tag: v2.16.41~19 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9ec2dbd7c1127406dfc08f9f86ef540cdc820579 Add a comment. --- diff --git a/src/lib/collator.cc b/src/lib/collator.cc index e88a91143..7bab36fa6 100644 --- a/src/lib/collator.cc +++ b/src/lib/collator.cc @@ -41,6 +41,7 @@ Collator::Collator() _collator = ucol_open(nullptr, &status); if (_collator) { ucol_setAttribute(_collator, UCOL_NORMALIZATION_MODE, UCOL_ON, &status); + /* Ignore case and character encoding (and probably some other things) */ ucol_setAttribute(_collator, UCOL_STRENGTH, UCOL_PRIMARY, &status); ucol_setAttribute(_collator, UCOL_ALTERNATE_HANDLING, UCOL_SHIFTED, &status); }