Depends on D4504
context: [[ https://phab.comm.dev/D4320#121943 | here ]]
Chars encoded in utf8 have different size between 1 and 4 bytes. Standard length method return different values on different architectures. To avoid that, we need to have an universal function for counting string bytes.