Navigation
API > API/Runtime > API/Runtime/Core
Utility for performing Unicode aware (in builds with ICU enabled) character checks. In builds without ICU enabled (such as server builds), this API uses the non-Unicode aware FChar API internally. The implementation can be found in LegacyText.cpp and ICUText.cpp.
| Name | FTextChar |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Internationalization/TextChar.h |
| Include Path | #include "Internationalization/TextChar.h" |
Syntax
class FTextChar
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool AppendCodepointToString
(
const UTF32CHAR Codepoint, |
Attempt to convert the given codepoint to a string, appending after any existing content in the string. | Internationalization/TextChar.h | |
static bool ConvertCodepointToString
(
const UTF32CHAR Codepoint, |
Attempt to convert the given codepoint to a string, replacing any existing content in the string. | Internationalization/TextChar.h | |
static UTF32CHAR GetCodepoint
(
const TCHAR* Buffer, |
Return the next codepoint from the given null terminated buffer. | Internationalization/TextChar.h | |
static bool IsAlnum
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is an alphanumeric character (letter or digit). | Internationalization/TextChar.h | |
static bool IsAlpha
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a letter character. | Internationalization/TextChar.h | |
static bool IsControl
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a control character. | Internationalization/TextChar.h | |
static bool IsDigit
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a digit character. | Internationalization/TextChar.h | |
static bool IsGraph
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a "graphic" character (printable, excluding spaces). | Internationalization/TextChar.h | |
static bool IsHexDigit
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a hexadecimal digit character. | Internationalization/TextChar.h | |
static bool IsLower
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is an lowercase letter character. | Internationalization/TextChar.h | |
static bool IsPrint
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a printable character. | Internationalization/TextChar.h | |
static bool IsPunct
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a punctuation character. | Internationalization/TextChar.h | |
static bool IsUpper
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is an uppercase letter character. | Internationalization/TextChar.h | |
static bool IsWhitespace
(
const UTF32CHAR Codepoint |
Determine whether the given codepoint is a whitespace character. | Internationalization/TextChar.h | |
static UTF32CHAR ToLower
(
const UTF32CHAR Codepoint |
Convert the given codepoint to its lowercase version. | Internationalization/TextChar.h | |
static UTF32CHAR ToUpper
(
const UTF32CHAR Codepoint |
Convert the given codepoint to its uppercase version. | Internationalization/TextChar.h |