mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
implementation: - don't crash on NSStrings that contain isolated surrogates (partial fix, there is a different code path that dispatches CoreFoundation and it still crashes); - insert U+FFFD according to Unicode recommendation; - fix decoding of surrogate pairs when the internal buffer is almost full (we used to drop characters in that case, rdar://16833733 + dups). Swift SVN r19147