stringConvert

Returns the same string in a different utf encoding

immutable(U)[]
stringConvert
pure
(
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
Type: T[]

The string to convert

Return Value

Type: immutable(U)[]

the C style string pointer.

Meta