Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTCHARToUTF8_Convert
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 Convert
(
IntendedToType* Dest, |
Converts a Source string into UTF8 and stores it in Dest. | Containers/StringConv.h | |
static int32 Convert
(
ToType* Dest, |
Containers/StringConv.h |
Convert(IntendedToType , int32, const SrcBufferType , int32)
Description
Converts a Source string into UTF8 and stores it in Dest.
| Name | Convert |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringConv.h |
| Include Path | #include "Containers/StringConv.h" |
template<typename SrcBufferType, std::enable_if_t<(TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType >), int >>
static int32 Convert
(
IntendedToType * Dest,
int32 DestLen,
const SrcBufferType * Source,
int32 SourceLen
)
The number of bytes written to Dest, up to DestLen, or -1 if the entire Source string could did not fit in DestLen bytes.
Parameters
| Name | Remarks |
|---|---|
| Dest | The destination output iterator. Usually ANSICHAR*, but you can supply your own output iterator. One can determine the number of characters written by checking the offset of Dest when the function returns. |
| DestLen | The length of the destination buffer. |
| Source | The source string to convert. |
| SourceLen | The length of the source string. |
Convert(ToType , int32, const SrcBufferType , int32)
| Name | Convert |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringConv.h |
| Include Path | #include "Containers/StringConv.h" |
template<typename SrcBufferType, std::enable_if_t<(TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType >), int >>
static int32 Convert
(
ToType * Dest,
int32 DestLen,
const SrcBufferType * Source,
int32 SourceLen
)