tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LC_COLLATE and setlocale(3)

On Mon, Aug 22, 2011 at 6:57 AM, Joerg Sonnenberger
<> wrote:
> On Sun, Aug 21, 2011 at 09:31:13PM -0400, matthew sporleder wrote:
>> Does NetBSD support LC_COLLATE at all with setlocale?  This is the
>> cause of our perl warnings* and I noticed that we have no LC_COLLATE
>> files in /usr/share/locale.
>> *
> No.

How do we add this, or at least stub it out?  Is this a limitation in
our locale sources, or in mklocale?
(LC_COLLATE is even given as an example in the netbsd man page)

It appears that at least the following should work:

Affects the behaviour of regular expressions and the collation functions.
Affects the behaviour of regular expressions, character
classification, character conversion functions and wide-character
Affects what strings are expected by commands and utilities as
affirmative or negative responses, what strings are given by commands
and utilities as affirmative or negative responses, and the content of
Affects the behaviour of functions that handle monetary values.
Affects the radix character for the formatted input/output functions
and the string conversion functions.
Affects the behaviour of the time conversion functions.

Home | Main Index | Thread Index | Old Index