Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TChar
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/Char.h |
Include | #include "Misc/Char.h" |
static constexpr uint32 ToUnsigned
&40;
CharType Char
&41;
Remarks
Avoid sign extension problems with signed characters smaller than int
E.g. 'Ö' - 'A' is negative since the char 'Ö' (0xD6) is negative and gets sign-extended to the 32-bit int 0xFFFFFFD6 before subtraction happens.
Mainly needed for subtraction and addition.