New em dash in iOS 11 causing some weird issues
macintacos last edited by
Only ran into this problem when I was trying to format some output from a script I was creating—when you type two dashes in a row, I believe iOS 11 now modifies that to be an em dash. However, it doesn't seem like Pythonista knows how to handle it. It deletes a previous character in order to accommodate it, and even though visually it looks like one dash due to the monospaced font, you have to press the arrow key twice to move past it.
Anyone else experience this?
mpvano last edited by mpvano
Yes and it had me scratching my head in SSH as well (I rely heavily on unix command line help options)!
It's easily fixed by going to Settings:General:Keyboard and turning off "Smart Punctuation".
I don't know if smart punctuation has always done this or not, since I normally turn it off to avoid problems with quote marks.
In any case, the update seems to have turned it on.
hope this helps...
omz last edited by
Smart punctuation is a new feature in iOS 11. The developer API is opt-out, so I'll have to disable it for the Pythonista editor in the next update, even though I never opted into it. :/