The data in the NSString is all data which can be represented with the ASCII encoding
I was caught out a few years ago when the iOS keyboard started automatically converting straight quoutes into curly open- and close-quotes, which are not ASCII. I wonder if something similar is happening to you? Maybe your date-time string has come from a formatter that has changed behaviour?
Is there a reason you can’t convert to UTF-8?
Topic:
App & System Services
SubTopic:
Core OS
Tags: