#356 TCHAR转utf8   snippets     UE4     字符串     编码     2 years ago (owner) Document
FString MetaData;
FTCHARToUTF8 MetaUtf8(*MetaData);
NDI_video_frame.p_metadata = MetaUtf8.Get();

#define FSTRING_TO_STD(a) (std::string(TCHAR_TO_UTF8(*a)))