FTCHARToUTF8_Convert

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

Windows
MacOS
Linux

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

void

 

Convert

(
    ANSICHAR* Dest,
    int32 DestLen,
    const TCHAR* Source,
    int32 SourceLen
)

Converts the string to the desired format.

Public function Static

int32

 

ConvertedLength

(
    const TCHAR* 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

ToType

References

Module

Core

Header

Runtime/Core/Public/Containers/StringConv.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback