stringConvert

Returns the same string in a different utf encoding

pure
immutable(U)[]
stringConvert
(
T
U
)
(
in T[] str
)
if (
(
is(T == dchar) ||
is(T == wchar)
||
is(T == char)
)
&&
(
is(U == dchar) ||
is(U == wchar)
||
is(U == char)
)
)

Parameters

str T[]

The string to convert

Return Value

Type: immutable(U)[]

the C style string pointer.

//deprecated: Use conversion methonds in std.utf instead.

Meta