Important: The information in this document is obsolete and should not be used for new development.
Returns the encoding specifications for all the destination text encodings to which the Text Encoding Converter can directly convert the specified source encoding.
pascal OSStatus TECGetDestinationTextEncodings (
The TECGetDestinationTextEncodings function returns text encoding specifications for the possible destination encodings in the array you pass as the directConversions parameter, eliminating any duplicate information in the process. Consequently, the number of encodings TECGetDestinationTextEncodings returns in the available encodings array may be fewer than the number of elements you allocated for the array based on your call to the function TECCountDestinationTextEncodings. TECGetDestinationTextEncodings tells you the number of specifications it returns in the actualDestinationEncodings parameter.
You can display the names of these destination encodings to the user if desired.