I know this is probably a noob question but I have input fields in my app. If someone types an invalid character the app breaks on the invalid string assert. Here is an example of an input that would kill it.
I know it's not ascii. Assume it's UTF8. What is the best way to handle this kind of input?