- macOS 10.4+
- Mac Catalyst 13.0+
- Core Services
In OS X version 10.4, you should use
type to represent text. In earlier versions of macOS, the recommended text type is
type. All of the other constants in this enum are deprecated due to their lack of explicit encoding or byte order definition.
The implicitly encoded text types,
type, are all deprecated in macOS, because they are incapable of representing international characters and may be reinterpreted in unpredictable ways. Additionally,
type do not support the full range of text coercions, and will be removed entirely in a future release.
type, while they have explicit encodings, are not recommended, since they are incapable of representing Unicode-only characters, such as Hungarian, Arabic, or Thai.