You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't assume that rangeOfCharacterFromSet:options: always returns a l…
…ength of 1. This fixes a bug where copying text where a line ends in a surrogate pair fails because it creates an invalid UTF-16 string, chopping the surrogate pair in half. Issue 3544.