Is al_ustr_get's pos parameter a byte offset?
Is the parameter 'pos' of the function 'al_ustr_get' a byte offset or is it a character index?
Byte offset. You can use al_ustr_offset to find it from the character index.
I can't believe that whole page doesn't mention "code unit" once. Who wrote that?
It's auto-generated from the official documentation (which was not intended to be split per-function) I think.
Thread #612381. Printed from Allegro.cc
Just kidding, I wrote most of the text on the UTF-8 routines page. The whole manual should be designed to be split into functions since we generate man pages from it as well. But that's fine, it's an iterative process.