toUTF32

fndstring toUTF32(const scope char[] s) @trusted pure

Encodes string s into UTF-32 and returns the encoded string.

fndstring toUTF32(const scope wchar[] s) @trusted pure

ditto

fndstring toUTF32(return scope dstring s) @safe pure nothrow

ditto