EncodeUtf8
function · unassigned · primitive
- Address
0x41abb0· 234 bytes, up to0x41ac99- Signature
char * __fastcall (uint32_t code, char *dst)- Meaning
- Writes a code below 0x80000000 as one to six UTF-8 bytes and a terminator, returning the terminator's address
- Confidence
- verified, proof two
- Finding
- ui/keyscripts#key-names
Finding: Key names in ui: key scripts and typing
The argument of OnKeyDown and OnKeyUp is a string: the key's name without modifiers, from the same
table the binding chord builder uses (keybindings, "Key names"). The character itself stands for the codes
0x21 to 0xff, and any code outside the table is UNKNOWN. OnChar receives the character as UTF-8.
The derivation is in the doc.
Callers 5
- BuildKeyChord ui
- CSimpleFrame::OnChar ui
- CSimpleFrame::OnKeyDown ui
- CSimpleFrame::OnKeyUp ui
- CSimpleEditBox::InsertChar ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.