![]() |
Text Encoding Preferences |
Header: MacTextEditor.h |
Specifies how to encode text for your application.
enum { kTXNSystemDefaultEncoding = 0, kTXNMacOSEncoding = 1, kTXNUnicodeEncoding = 2 };
Use the encoding that is used internally (i.e., preferred) by MLTE and the system. This is Unicode for a system that has ATSUI.
Incoming and outgoing text should be in traditional Mac OS Script system encodings even if MLTE uses another format internally. MLTE will use the Text Encoding Convertor (TEC) to convert text and offsets to match your applications preference.
Incoming and outgoing text should be in Unicode even on systems that do not have ATSUI. MLTE will use the Text Encoding Convertor (TEC) to convert text and offsets to match the applications preference.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)