On Monday at 10:58, Pádraig Brady wrote:

> How does one compare characters using only primary weights?
>
> For example I would like "a á â" to be equal according to the locale.
> I think that strcoll will treat them as equal using primary weight,
> but then iterate again to compare with secondary and tertiary weights.

Perhaps write your own locale for that and set LC_COLLATE to it?  On
GNU libc systems, you can have them locally installed (eg. in your
$HOME) as well using I18NPATH and LOCPATH environment variables.

Cheers,
Danilo

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to