blob: 485f94a6517c45169b94aca607e074dbae6b6855 [file] [log] [blame]
Zesstra87785842019-11-27 19:59:07 +01001SYNOPSIS
2 string to_text(bytes bytesequence, string encoding)
3 string to_text(int* bytes, string encoding)
4 string to_text(string unicode)
5 string to_text(int* characters)
6
7DESCRIPTION
8 The first argument is converted to a unicode string.
9
10 The first two variants convert an encoded text, given as
11 a sequence of bytes, to string. The second argument denotes
12 the name of the encoding used to produce the byte sequence.
13
14 The third variant just returns the argument.
15
16 The fourth variant converts a sequence of unicode characters
17 to string.
18
19HISTORY
20 Introduced in LDMud 3.6.0.
21
22SEE ALSO
23 to_bytes(E), to_string(E), to_array(E)