/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h
Converts the [Src, Src+SrcSize) string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range. The Src range should contain a null terminator if a null terminator is required in the output. If the Dest range is not big enough to hold the converted output, NULL is returned. In this case, nothing should be assumed about the contents of Dest.
A pointer to one past the last-written element.
template<typename SourceEncoding, typename DestEncoding> static DestEncoding * Convert ( DestEncoding * Dest, int32 DestSize, const SourceEncoding * Src, int32 SrcSize )