[PD] Gem string encoding in [text2d]