L2P: use uint8_t for iterating over the UTF-8 text

This fixes issues when matching characters above 0x7F.