fromWString

Convert a known-length UTF-16 slice into a D UTF-8 string. Embedded NUL characters are preserved; malformed code units are replaced with U+FFFD.

@trusted
string
fromWString
(
const(wchar)[] ws
)

Meta