FTCHARToUTF8_Convert

This should be replaced with Platform stuff when FPlatformString starts to know about UTF-8.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/StringConv.h

Include

#include "Containers/StringConv.h"

Syntax

class FTCHARToUTF8_Convert

Remarks

This should be replaced with Platform stuff when FPlatformString starts to know about UTF-8.

Functions

Name Description

Public function Static

int32

 

Convert

(
    IntendedToType* Dest,
    int32 DestLen,
    const SrcBufferType* Source,
    int32 SourceLen
)

Converts a Source string into UTF8 and stores it in Dest.

Public function Static

int32

 

Convert

(
    ToType* Dest,
    int32 DestLen,
    const SrcBufferType* Source,
    int32 SourceLen
)

Public function Static

int32

 

ConvertedLength

(
    const SrcBufferType* Source,
    int32 SourceLen
)

Determines the length of the converted string.

Public function Static

int32

 

Utf8FromCodepoint

(
    uint32 Codepoint,
    BufferType OutputIterator,
    uint32 OutputIteratorByteSizeRemain...
)

Convert Codepoint into UTF-8 characters.

Typedefs

Name

Description

FromType

IntendedToType

Leave this until we convert all the call sites and can change FromType to this.

ToType