File: unicode.md

package info (click to toggle)
glib2.0 2.84.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 66,112 kB
  • sloc: ansic: 538,924; python: 9,661; sh: 1,612; xml: 1,482; perl: 1,222; cpp: 535; makefile: 321; javascript: 11
file content (37 lines) | stat: -rw-r--r-- 1,517 bytes parent folder | download | duplicates (8)
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
Title: Unicode
SPDX-License-Identifier: LGPL-2.1-or-later
SPDX-FileCopyrightText: 2011, 2014, 2023 Matthias Clasen
SPDX-FileCopyrightText: 2020 Endless OS Foundation, LLC

# Unicode support

GLib has support for various aspects of Unicode, and provides a number of APIs for dealing
with Unicode characters and strings.

There are analogues of the traditional `ctype.h` character classification and case conversion
functions, UTF-8 analogues of some string utility functions, functions to perform normalization,
case conversion and collation on UTF-8 strings and finally functions to convert between the UTF-8,
UTF-16 and UCS-4 encodings of Unicode.

The implementations of the Unicode functions in GLib are based on the Unicode Character Data tables,
which are available from [www.unicode.org](http://www.unicode.org/).

 - Unicode 4.0 was added in GLib 2.8
 - Unicode 4.1 was added in GLib 2.10
 - Unicode 5.0 was added in GLib 2.12
 - Unicode 5.1 was added in GLib 2.16.3
 - Unicode 6.0 was added in GLib 2.30
 - Unicode 6.1 was added in GLib 2.32
 - Unicode 6.2 was added in GLib 2.36
 - Unicode 6.3 was added in GLib 2.40
 - Unicode 7.0 was added in GLib 2.42
 - Unicode 8.0 was added in GLib 2.48
 - Unicode 9.0 was added in GLib 2.50.1
 - Unicode 10.0 was added in GLib 2.54
 - Unicode 11.10 was added in GLib 2.58
 - Unicode 12.0 was added in GLib 2.62
 - Unicode 12.1 was added in GLib 2.62
 - Unicode 13.0 was added in GLib 2.66
 - Unicode 14.0 was added in GLib 2.71
 - Unicode 15.0 was added in GLib 2.76