Legacy Documentclose button

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

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Appendix B - International Resources / String-Manipulation Resource (Type 'itl2')


The 'itl2' Sorting Hooks

The string-manipulation resource contains five sorting hooks, each of which can modify the functioning of its equivalent default sorting routine that is built into Text Utilities. If the sorting hooks are all empty, the default U.S. Roman sorting behavior results. For example, the 'itl2' resource in the version of the Roman script system that has been localized for the United States contains the built-in sorting behavior and empty hooks. For other script systems, one or more of the hooks are replaced with actual routines, to handle characters that need to be sorted differently from the default--for example, the Spanish character combination "rr" or the Norwegian "ñ". Most of the sorting routines are called in turn for each character in each string of a pair that are being compared. Here is what each of the routines does:

For information on providing custom versions of the sorting hooks, see "Supplying Custom Sorting Routines" on page B-43.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996