transcode

fnvoid transcode(Src, Dst)(Src[] s, out Dst[] r)

Convert a string from one encoding to another.

Supersedes: This function supersedes std.utf.toUTF8(), std.utf.toUTF16() and std.utf.toUTF32() (but note that to!() supersedes it more conveniently).

Standards

Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250,

WINDOWS-1251, WINDOWS-1252

Parameters

sSource string. Must be validly encoded. This is enforced by the function's in-contract.
rDestination string

See Also