Fix UTF-8 support in inline maps