An NSString instance can contain an unpaired surrogate, but then trying to encode it with a custom NSCoder results in an exception. This can happen when Safari AutoFill encodes a string originating from a webpage.
<rdar://problem/20757196>
Created attachment 252754 [details] Avoid -[NSString encodeWithCoder:]
Fixed in <http://trac.webkit.org/r184026>.