[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customization variable to disable Unicode collation?
From: |
Gavin Smith |
Subject: |
Re: Customization variable to disable Unicode collation? |
Date: |
Wed, 31 Jan 2024 20:19:21 +0000 |
On Wed, Jan 31, 2024 at 10:38:36AM +0100, Patrice Dumas wrote:
> With collation also possible with XS/C, but with a different result than
> in perl, I think that there should be a way to use perl unicode
> collation from C too, in addition to using a unicode collation or not.
>
> Should it be a separate customization variable, or should
> USE_UNICODE_COLLATION be replaced by a variable with a textual value
> taking more possibilities, for example USE_COLLATION with possible
> values:
> unicode
> unicodeperl
> basic
Hi, I think we should wait until we decide exactly what we are doing
with collation in C first. If we are aiming to get exactly the same
collation in C as in Perl, then I don't think we should have a separate
option for this. If collation with C allows something different, then
we could have an option. There is the issue of language-specific tailoring
which could be potentially achieved with locale-based sorting in C.