Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Up Previous Next 

PATH 
Mac OS 8 and 9 Developer Documentation > Text Encoding Conversion Manager
Programming With the Text Encoding Conversion Manager



Truncating Strings Before Converting Them

If you need to divide up a string, before converting it, your application can use the truncation functions to properly break the string so that the string to be converted is terminated with complete characters and complete text elements. To avoid the possibility of corrupting the contents of the string or breaking a string between the bytes of a multibyte character, it is best to use these functions instead of truncating the string yourself.

TruncateForTextToUnicode

TruncateForUnicodeToText


© 1999 Apple Computer, Inc. – (Last Updated 13 Dec 99)

Up Previous Next