@neauoire oh heck yeah, now that you're talking about the topic, here's a C function I really like that returns the codepoint that a sequence of UTF-8 bytes refers to, made by "x_rxi" in Twitter for their text editor, "lite": https://github.com/rxi/lite/blob/master/src%2Frenderer.c#L42-L56
@thacuber2a03 yup, I have an equivalent to it in uxntal if you need.