summaryrefslogtreecommitdiff
path: root/module/utils/locale.mdwn
blob: 4faa68046b1b00dd981904011de2a2fa5d199e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[[!meta title="Module:utils/locale"]]
[[!meta author="James Bursa"]]
[[!meta date="2011-01-09T22:42:48Z"]]


[[!toc]] Locale-specific variants
of ctype.h functions.

Prefix
------

`ls_`

Depends on
----------

None.

Description
-----------

This module supplies versions of the character classification functions
in <ctype.h> that respect the current locale.

NetSurf has a setlocale(LC\_ALL, "C") call in initialization for
consistent and predictable behaviour. These functions however use the
environment's locale.

Files
-----

utils/locale.h
:   Interface
utils/locale.c
:   Implementation

[[!inline raw=yes pages="Module:Index"]]