Dokumentation zu: to_text(E)

HR Image

        string to_text(bytes bytesequence, string encoding)
        string to_text(int* bytes, string encoding)
        string to_text(string unicode)
        string to_text(int* characters)

        The first argument is converted to a unicode string.

        The first two variants convert an encoded text, given as
        a sequence of bytes, to string. The second argument denotes
        the name of the encoding used to produce the byte sequence.

        The third variant just returns the argument.

        The fourth variant converts a sequence of unicode characters
        to string.

        Introduced in LDMud 3.6.0.

        to_bytes(E), to_string(E), to_array(E), unicode(C), encodings(C)

Start » Magierhandbuch » Docu » Efun » To_text Letzte Generierung: 25.04.2021, 01:58
Email an:
Valid HTML 4.01!