CFStringGetFastestEncoding

Header: CFString.h Carbon status: Supported

Obtains the encoding for the characters in a CFString that requires the least conversion time.

CFStringEncoding CFStringGetFastestEncoding (
    CFStringRef theString
);
Parameter descriptions
theString

Pass a reference to a CFString object for which you want to determine the fastest encoidng.

function result

An enum constant representing a string encoding.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)