Global Variable



const NSStringEncodingDetectionOptionsKey NSStringEncodingDetectionLossySubstitutionKey;


Option specifying the string used to substitute for any unsupported characters when converting to a lossy string encoding. If a @(NO) value is specified for NSStringEncodingDetectionAllowLossyKey, this option has no effect. The corresponding value for this key is an NSString object. By default, this value is U+FFFD.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software