Wednesday, September 27, 2017

iOS 11 Smart Punctuation and Null Characters

Gabriel Hauber:

iOS 11 + smart punctuation: two dashes = en-dash. Three dashes = en-dash + null-byte? Why?

Big problems with this and core data: if you store a string where user entered three dashes, the null byte causes early string termination.

1 Comment RSS · Twitter

I use text messaging to send instructions to a entry-phone system. This stopped working after I updated to iOS 11. Turns out the reason is due to smart punctuation, which changes the way quote marks (") are formatted. I have had to turn off smart punctuation in settings (Settings > General > Keyboard > Smart Punctuation)

Leave a Comment