How can I get the String transformed to fit the UIFont's table?

How can I get the String transformed to fit the UIFont's table?

The characters (Unicode) included in the original String are all wrong.

This original String is intended to be displayed normally when displayed or rendered in a UITextView using a specific UIFont.

In other words, both the original String and UIFont files are not normal.

Even after applying it to UITextView or UILabel, the rendering is displayed as normal characters, but when I import it as a String variable as text and display it in the log, it is still abnormal original characters.

So, in the case of UITextView, even if the user makes a selection and then copies or searches, it does not work normally.

I want to get the rendered (converted) String of this original String through this specific UIFont.

How can I get the String transformed to fit the UIFont's table?
 
 
Q