I have a text in the application that comes with special characters (the text is written in French) that I want to send using MFMessageComposeViewController. I define the text in the body field: messageComposeVC.body = body
and call to present the message compose like that : UIApplication.topViewController()?.present(messageComposeVC, animated: true, completion: nil)
The message/imessage open and display the preview with the text i defined.
But, since the upgrade of the iPhone to ios 17 it stopped working, when i send the message the message was not send and I received a message that the message failed. I also tested on ios 16 - it works great.
Any idea how i can fix it?