> Date: Wed, 31 Jan 2024 23:11:02 +0100
> From: Patrice Dumas
>
> > Moreover, en_US.utf-8 will use collation appropriate for (US) English.
> > There may be language-specific "tailoring" for other languages (e.g.
> > Swedish) that the user may wish to use instead. Hence, it may be
> > a good idea
> From: Gavin Smith
> Date: Wed, 31 Jan 2024 20:10:56 +
>
> It seems like a pretty obscure interface. It is barely
> documented - newlocale is in the Linux Man Pages but not the
> glibc manual, and strxfrm_l was only in the Posix standard
> (https://pubs.opengroup.org/onlinepubs/9699919799/f
On Wed, Jan 31, 2024 at 08:19:21PM +, Gavin Smith wrote:
> 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
On Wed, Jan 31, 2024 at 08:10:56PM +, Gavin Smith wrote:
> On Wed, Jan 31, 2024 at 10:15:08AM +0100, Patrice Dumas wrote:
> > Hello,
> >
> > I implemented index sorting in C with XS interface in texi2any.
> > When unicode collation is wanted, based on my understanding of
> > Eli suggestions, a
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 se
On Wed, Jan 31, 2024 at 10:15:08AM +0100, Patrice Dumas wrote:
> Hello,
>
> I implemented index sorting in C with XS interface in texi2any.
> When unicode collation is wanted, based on my understanding of
> Eli suggestions, a collation locale is set to "en_US.utf-8", by
> newlocale (LC_COLLATE_M
On Tue, Jan 30, 2024 at 10:34:43PM -0500, Richard Stallman wrote:
> [[[ To any NSA and FBI agents reading my email: please consider]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> When I fo
On Sun, Jan 28, 2024 at 08:15:33PM +, Gavin Smith wrote:
> Below is a patch to introduce a new variable to avoid using the
> Unicode::Collate module. Turning the module off shortens run times by
> about 5% (depending on the size of indices in the document).
>
> Users can use this if they don'
Hello,
I implemented index sorting in C with XS interface in texi2any.
When unicode collation is wanted, based on my understanding of
Eli suggestions, a collation locale is set to "en_US.utf-8", by
newlocale (LC_COLLATE_MASK, "en_US.utf-8", 0)
and then strxfrm_l is used (which should be the same