Wrong type of uchar for call to uchar_from_utf8()