Zesstra | 8778584 | 2019-11-27 19:59:07 +0100 | [diff] [blame] | 1 | SYNOPSIS |
| 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 | |
| 7 | DESCRIPTION |
| 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 | |
| 19 | HISTORY |
| 20 | Introduced in LDMud 3.6.0. |
| 21 | |
| 22 | SEE ALSO |
| 23 | to_bytes(E), to_string(E), to_array(E) |